Rotate an already animated object/subobject

hello! i have a small problem…

i have an animated character (idle and walk animations) and i wanted to rotate the torso object via mouse input (like an aiming animation). is this possible? if i disable the animator controller it works (the torso bends down and up) but when the character is animated the torso wont rotate.

is this even possible?

i just started to work with unity a few days ago so i basically dont know anything except some java/c# programming…

im looking forward for your answers! :slight_smile:

Look into IK in the documentation. This is only available with the humanoid setup, although there are IK solutions in the asset store if your character is not set up as humanoid.

The reason why when you have animator enabled, and the torso won’t rotate is because the animation is overriding your scripted action for that particular object.

What I would do in that instance is, create an animation involving the rotation of the torso, and use that. Else create a base transform object as a parent to your animator object/rig, and instead of rotating the torso, I’d rotate the base transform.