0 votes

The problem is simple but I sadly cannot solve it. I connect two RigidBodys via a Generic6DOFJoint. During runtime, I change the size of the first Rigidbody, i.e. its MeshInstance and its CollisionShape. I move (by changing the translation parameters) the second RigidBody accordingly and therefore I also have to move the Joint. Afterwards, the two RigidBodys are still moving like the Joint never changed its position, though.

It seems like the Joint never gets updated, because it maybe gets instanced at an early point of running the program.
Anyone noticed something similar and can maybe help me?

in Engine by (12 points)

I've noticed the same behaviour. I think that the joint position is never updated. I've created a MeshInstance as a child of the joint, so that I can see where the joint is, and it doesn't change position.

Have you seen the discussions here?
https://godotengine.org/qa/23760/how-to-change-the-rest-position-of-a-pinjoint2d

I'm goin to try to delete the joint and create another in the position I want, to see if it works.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.