- Home /
TANKS! both firing with spacebar
I need a hand, I am very new to all of this, but I was following the TANKS! tutorial, and all seems to be working very well, except that both of my tanks fire with space bar. They move with WASD and the arrow keys properly, and the input manager has player 2's firing set up as enter.
Without some more information it will be hard to help. Can you show the relevant code that fires? And perhaps anything else that may be useful to know.
You probably have the same fire input set for the other tank. Check if player 1's firing is set up to 'enter' too.
He said that both were firing with spacebar. It would be impossible to the player 1's firing axis were enter and it shoot with spacebar unless it had two keys to do it, and i don't think he would do this.
Your answer
Follow this Question
Related Questions
how to shoot bullets from circumference of a circle ? 1 Answer
How do I manage collisions between characters being moved around by their transform.position? 2 Answers
SphereCast doesn't work when I increase the radius. 1 Answer
Unity 5.3/5.4b: HideFlags and scripts not running? 0 Answers
Unity how to access animation states (from blender) with C# ONLY 0 Answers