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! :)
Answer by theANMATOR2b
Apr 13 at 03:55 PM
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.
thank you for your answer! i'll have a look.
Answer by Spidlee
Apr 15 at 05:48 AM
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.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
202 People are following this question.
Sprite does not appear in mobile with rotation animation?
animation 360 rotation
Free Look Camera Rig Changing Rotation
Unable to make animations for UI Image
Track an object and fire?