Skip to content
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

RootMotionView does not consider current rotation #72930

Closed
TokageItLab opened this issue Feb 8, 2023 · 0 comments · Fixed by #72931
Closed

RootMotionView does not consider current rotation #72930

TokageItLab opened this issue Feb 8, 2023 · 0 comments · Fixed by #72931

Comments

@TokageItLab
Copy link
Member

Godot version

4.0 RC1

System information

Any

Issue description

RootMotionView does not process rotations correctly.

This problem was pointed out in #58061 and #66510 in the past, but was closed with some fixes and a recommendation to solve it by keeping the current rotation on the script side.

However, for RootMotionView, that work around is not available since it cannot detect the firing of the animation and therefore the current rotation cannot be retained.

As a result, if a moving to forward animation is played after a rotation animation, the moving direction will be strange.

rootmotionbug.mp4

Steps to reproduce

A moving to forward animation is played after a rotation animation.

Minimal reproduction project

rootrot2.zip

@TokageItLab TokageItLab added this to the 4.0 milestone Feb 8, 2023
@TokageItLab TokageItLab changed the title RootMotionView does not process rotations correctly RootMotionView does not consider current rotation Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant