-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
3D: When "Sync to Physics" enabled on KinematicBody, animation of translation and rotation doesn't work correctly. #58915
Comments
@leiget Can you reproduce this after switching to GodotPhysics as the 3D physics engine in the project settings? |
@Calinou Yes I can. |
This is a limitation of the current implementation of |
Any known workarounds? |
No, sorry, I don't think this can be solved, the implementation needs to be improved. The only thing you can do is to use only deal with this limitation or, but it's a bit tedious, not use sync to physics and update the nodes in the right order, and apply the velocity manually to the player. |
Okay thanks |
Also encountered this issue for animated wardrobe drawers which have a kinematic body for ray-casting. Interestingly it seems fine when sync to physics is unchecked as this video suggested for the 2D case. But I guess it's not really just an inverted toggle, right? |
Confirming that this is still an issue as of v4.1.1, I animated an AnimatableBody3D through code, simple as this:
Can also confirm toggling sync to physics off fixes animation issues in my case. |
I am also still having this issue in Godot 4.2, whether it is on a parent 3d node or on the animatable body itself. |
I ran into this behavior today in 4.2.2. After some testing I found the following: When Sync to Physics is ON:
When Sync to Physics is OFF everything works without issue. Rotation with very tiny movements will work just fine as well, and will also behave properly if its parent is moved around. |
Godot version
v3.4.2.stable.official [45eaa2d]
System information
Ubuntu 20.04 LTS
Issue description
When a 3d kinematic body has the translation and rotation animated on separate animation tracks, and "Sync to Physics" is also enabled, only the rotation animation track plays.
Steps to reproduce
Minimal reproduction project
Here's a very simple project zip that produces this problem in Godot 3.4.2 official. Simply press F5/Run project and the bug will occur.
AnimSyncToPhysics_Bug.zip
The text was updated successfully, but these errors were encountered: