You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
AThousandShips
changed the title
AnimatableBody2D does not animate using AnimationPlayer2D when sync_to_physics is turned on
AnimatableBody2D does not animate using AnimationPlayer when sync_to_physics is turned on
Nov 8, 2024
I think I figured it out 🔥: Multiple "channels" won't animate in parallel
A) Works ("normal" animation)
B) Glitches (position is split up into x and y when using bezier curves)
C) Works (bezier curve animation but only one axis)
→ Only one property will animate properly. If you add a rotation channel, then either position or rotation won't animate anymore (when using sync_to_physics).
So it's probably the same underlying issue as @ZeAntwan encountered in #76685
stephanbogner
changed the title
AnimatableBody2D does not animate using AnimationPlayer when sync_to_physics is turned on
AnimatableBody2D animates only one property when sync_to_physics is enabled (using AnimationPlayer)
Nov 8, 2024
Reproduced, in animation3d too. It looks like the transform is set each frame as many times as there are tracks separately, so only the last one applies.
Also happens, for example, if you add a 3d rotation track after adding the bezier: then only the rotation happens.
Tested versions
Godot v4.3.stable
System information
macOS 14.6.1 - Vulkan (Forward+) - integrated Apple M2 Pro - Apple M2 Pro (10 Threads)
Issue description
AnimatableBody2D
using anAnimationPlayer
AnimatableBody2D
is not moving unless I turn offsync_to_physics
sync_to_physics
turned off I assume it's not an error on my sideIf anybody has any ideas, please. I have no clue anymore ...
Potentially related issues:
Steps to reproduce
I am not able to reproduce it from scratch, but I extracted the problem from my larger project:
sync_to_physics
on to animatable_body_2d and run sceneMinimal reproduction project (MRP)
bug-animating-animatable-body-zip.zip
The text was updated successfully, but these errors were encountered: