Hello. I have a Sprite3D set up with 8-way animations, using an animation tree to handle which way it should look at. It works right now when I have a static camera, it'll show the correct animation. I'm using the blend position parameter with a vector that holds my inputs, but when I'm idling in a scene with the camera rotating I'd like for it to reflect on my character as well.
tree.set("parameters/Walk/blend_position", input_vector)
tree.set("parameters/Attack/blend_position", input_vector)
tree.set("parameters/Idle/blend_position", input_vector)
This is how it's set up on the code right now, what would need to change on the idle one for it to update according to the camera rotation? Any code example also appreciated.
Edit: Forgot to add the camera for my characters is handled by a spring arm node.