Overide a bone from a running animation?
I have an enemy (in a 2D game) with a bone in his neck and I created an Idle animation. When this enemy ''sees'' the hero (Physics2D.Linecast) I want to rotate this bone to the hero because the guy is a giant so by doing this the player will know that the giant is looking at him.
Making animations with the Animator component, raycasting, rotating object to targets are not misteries to me...but CAN I rotate a bone amid a running animation? If so...how? If not then I just will create an animation rotating his head 45 degrees and call the day...but it will look like a blind man looking to nowhere at somepoint...so...that's my dilemma...thanks for any advice.
Greetings.
Your answer
Follow this Question
Related Questions
How to rotate sword while still looking at mouse? 1 Answer
I can't seem to rotate my character depending on what side he is running to (2D sidescroller) 0 Answers
Player doesn't face the correct way in certain cases 0 Answers
2D - Flipping a sprite from a different position 0 Answers
strange rotation in 2d 0 Answers