- Home /
bootcamp demo reloading problem
when i import unity into a new project and play it nothing is going wrong, i hold down the shoot button until he runs out of bullets and it goes normally but when i hold the shoot button down even when he stops shooting the soldier reloads and then he begins reloading a second consecutive time and the bullet fire from where they were before even though the gun is facing down and the soldier is still reloading it, please help me, i want the soldier to only reload once when he runs out of bullets
Answer by awesomeface · Nov 06, 2012 at 03:08 AM
never mind i fixed it
how did you fix the script $$anonymous$$e is doing the same thing
Answer by masterofimps · Jul 04, 2013 at 02:10 PM
Hi, after much searching, the answer turns out to be pretty simple. For the Gun script, attached to the M4 gameobject, in the inspector the reload time set at (2.6) is twice as long as the time needed to reload, so the animation plays twice even though the reloading flag is not active after the first reload animation. To fix the problem, just set the reload time to 1.3.
Your answer
Follow this Question
Related Questions
No Realtime Shadows on Bootcamp Win7 with Radeon HD for Mac? 1 Answer
Dummy/Turret in BootCamp ; missing assets 1 Answer
Bootcamp on Unity 3.4.2- Script rrors! 0 Answers
How to get LocalPlayer position in Photon Bootcamp Demo? 1 Answer
Issue Building Application from Unity to Visual Studio on Bootcamped Mac Pro 0 Answers