- Home /
why wont machine gun follow first person controller
hey guys just got a problem with the machine gun for an dps game whats happening is that the gun can shoot and everything but it doesent follow the character it just floats in the air but it does shoot.
Answer by IndieScapeGames · Aug 16, 2012 at 02:13 PM
Ensure it's attached to your Player. As in, it's child of your parent Player.
Answer by awdawdawd · Aug 16, 2012 at 02:25 PM
What do you mean it doesn't follow the player?
Are you trying to make it 'part' of your character? If so, then 'Chad' is right, you want to click on your weapon in the Hierarchy Window, and drag it into your character so its a 'child'. Now when you play, it will move wherever you move.
Your answer
![](https://koobas.hobune.stream/wayback/20220613075743im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Zombie FPS 2 Answers
FPS PISTOL 1 Answer
Animation & Script Help 2 Answers
Aiming down a gun 4 Answers