Animation player seems to move nodes globally and not locally like I want it to move

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By MasterG

2dKinematicBody:
-SpatialNode:
–Sprite

I rotate the spatial node based on the velocity and works but when I try to play an attack animation that moves the sprite position and rotation it moves the sprite as I never even rotated the spatial Node

Can somebody help me pls

If I play the animation in the editor using editable children it works

:bust_in_silhouette: Reply From: Pedro Karut Gimenez

Probably the node parent is wrong, change the parent and see if it works

It didn’t work I changed the parent to the spatial node and it doesn’t work now either when the kinematic body was the animation player parent

MasterG | 2022-10-17 17:52