- Home /
2D character arms that aren't a separate object look at mouse.
Ok, so I've made arms point towards the mouse before but they were always separate objects. This time I've a 2D character with a walk animation I've been working on for the past 2 hours. His arms move up and down when he walks. Now when my character picks up a gun I want his arms to stop moving up and down with the walk animation and point towards the mouse as one object (the same as the rest of the character). Is this even possible? Thanks.
Answer by phxvyper · May 22, 2016 at 04:39 AM
If theyre they're a model on the same GameObject's renderer then not really. You'd have to create an animation which manipulates each arm's angle.
Otherwise, just use Transform.LookAt
Your answer
Follow this Question
Related Questions
making an object move to a certain point 3 Answers
Object Collider Isometric problem 0 Answers
2d axis is not shown 1 Answer
Raycast from Character to Mouse Position? 2 Answers
"wheel" character 2 Answers