Jump to content

Fixed Joint - rigid body rotates when Anchor 0 position is moved


photo

Recommended Posts

 

When attaching 2 rigid bodies with a FIXED JOINT, and the parent body is set to IMMOVABLE, the child body rotates if the ANCHOR 0 position is not zero.

Also, the child body rotates in differente axis, depending on which axis the ANCHOR 0 position is changed. It only happens on the X and Y axis, not along the Z axis.

If the parent body is not set to IMMOVABLE, this behaviour does not happens.

Also, HINGE JOINTS have the same behaviour.

UPDATE (second video): changing the parent body collision shape position has the same effect.

Edited by Saitodepaula
Link to comment

Saitodepaula

I've added this bug to our internal bug tracker, thanks for the video.

Currently joints will work incorrectly with Immovable flag. However, if that node with BodyRigid would be always stationary you could try to just use BodyDummy instead.

 

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment

Thanks @silent! I've made an update with some more info I've found out with some more experiments.

About using a BodyDummy: good to know. I don't plan to use a RigidBody always stationary, it's just the way I always began experimenting with joints in physics engines, I make one body static and the other free to move.

Link to comment
×
×
  • Create New...