- Home /
This question was
closed Oct 19, 2020 at 11:46 AM by
utbalegem for the following reason:
The question is answered, right answer was accepted
Script that doesnt affect child
Im making a 2D shooter, and the weapon follows the mouse. I have a movement script that flips the player gameobject when moving a certain direction, but it also flips the weapon, so my weapon is now aiming backwards. Is there a way to make it so my weapon (which is a child of the player), not get affected by this rotation but still follows the player when it moves?
Comment
Follow this Question
Related Questions
hangs up my android game! 1 Answer
Top Down shooter Moving while Shooting 0 Answers
how to 2D top down 0 Answers
How should I properly store statistics of various items of same type? 2 Answers
2D Animation does not start 1 Answer