- Home /
How to make the hand follow the weapon that is pointed to the mouse pointer in 2d platformer?,How to make the body parts move with the weapon for unity 2d platformer game ?
Thank you for taking the time to go through my question.
I have made a character and a weapon gameobject is made as a child of this player gameobject. Currently the weapon has a script that makes it rotate with respect to the mouse pointer position for aiming. Also a code is added to the player to flip the player when the mouse pointer goes behind it.
Next, I would like to make the arms and head to follow the weapon rotation. Suppose the weapon is pointing north east, I want the arms and the head along with the weapon to point to the same direction. Any help is truly appreciated.
,
Your answer
Follow this Question
Related Questions
I'm trying to make platforms generate between two platforms which are already generated. 0 Answers
Making the enemy follow the path of the Player,How to make the enemy follow the path of the player? 0 Answers
In my 2D platformer game, how would I create a height marker?, 1 Answer
Spawning mobs in a platformer game 0 Answers
error CS0101 and error cs0111 1 Answer