-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kinematic Rigid Bodies do not update their position with the world despite calling update_kinematic_position
#141
Comments
Thanks for bringing this up! These functions have been neglected for quite a while and need to be revisited or perhaps even removed to avoid confusion. The reason they're not working properly though is because they're not calling |
Thanks @xissburg I'll try that out
If they are removed, how do we move the Kinematic bodies without these functions? Edit: oh I see... do you mean we should patch the position/orientation and velocity directly? |
Exactly. It's important to set the appropriate angular and linear velocity for constraints to behave correctly. |
@xissburg since I am using the
However, these changes do not seem to be working as expected. |
I have tested the following successfully:
If I move the kinematic RigidBody using
update_kinematic_position
, the contact points generated are as if the kinematic RigidBody never moved i.e. their position is that of when the kinematic RigidBody was first created. In effect, it seems that kinematic RigidBodies cannot be moved at all.Perhaps there is another call that needs to be made per entity that is a kinematic RB to update the position with the world that I don't know of?
The text was updated successfully, but these errors were encountered: