Skip to content

RootMotionView does not consider current rotation #72930

Closed
@TokageItLab

Description

@TokageItLab

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions