Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (746)
Games in Android Showcase (226)
games submitted by our members
Games in WIP (829)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Newbie & Debugging Questions / Re: jBullet - 6DOFConstraint odd behaviour on: 2012-12-13 21:02:28
I have also now tried changing to bodies to capsules - same problem occurs
2  Game Development / Newbie & Debugging Questions / jBullet - 6DOFConstraint odd behaviour on: 2012-12-13 19:45:18
Hi, I've set up two cylinders with a 6dofconstraint between them, limiting to rotation only. Rotation about the horizontal axis works absolutely fine and I can achieve angles of up to +/-pi/2 as desired. The rotation about the vertical axis however is rather odd. As I reach about 1.05 radians there is a severe vibration of the "head" of the body that I have made.

I have recorded two videos to show what occurs. The description for the first details what I do. The second show that it is highly unlikely to be a collision problem because there is no contact between the two and the problems till occurs. - shows the bug - show the bug without a collision (still occuring with the same behaviour)

I just wanted to see if there are any suggestion for what this could be, I've been working with it for about a week now and I'm just out of idea.

The following are all solutions I have tried:

•   Setting restitution (bounciness) to very low –same occurs
•   Set both linear and angular damping to a range of values between 0 and 1 – same occurs
•   Set angle to begin at greater than 1.05 – same occurs.
•   Continue to increase angle beyond 1.05 to see if calms down – opposite occurs and it gets more violent.
•   Try on body of just two cylinders – same occurs
•   Check for deep penetrations – none present
•   Separate two bodies linearly to rule out collision problem but keep the joint the same – same occurs.
•   Float the snake (mass = 0f for all parts other than head) above ground to remove ground interaction – same occurs
•   Turn off gravity whilst in locked position – behaviour delayed until 1.43rads
•   Increase the size (scale) of the snake as it is known for jBullet to have rendering issues with smaller items – no change.

Please account for the fact that the bullet points are just rough notes I've been making as testing so might not make complete sense, but hopefully they do

Pages: [1]
xxMrPHDxx (107 views)
2017-12-31 17:17:51

xxMrPHDxx (41 views)
2017-12-31 17:15:51

xxMrPHDxx (50 views)
2017-12-28 18:11:33

Ecumene (215 views)
2017-09-30 02:57:34

theagentd (325 views)
2017-09-26 18:23:31

cybrmynd (370 views)
2017-08-02 12:28:51

cybrmynd (406 views)
2017-08-02 12:19:43

cybrmynd (374 views)
2017-08-02 12:18:09

Sralse (345 views)
2017-07-25 17:13:48

Archive (1104 views)
2017-04-27 17:45:51
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!