- Home /
Animation Problems
Hey I'm having problems with my animations for my game and the problem was kinda hard to explain so I made a video. There's a few problems I tried to demonstrate so I will try to explain them below.
http://www.youtube.com/watch?v=j6h6C6sTxB0
First is the obvious the animations don't play until I press escape twice. I show the script that uses escape but I'm not sure how or why that affects my animations.
Second is the muzzle flash particle effect doesn't stick well to the RayPoint (the object used for casting rays... obviously) It may have been hard to see in the video but its sort of there.
Last, is another problem with the lockcursor script. The cursor begins to show again after you "resume" play again. But that's the least of my concerns right now.
Any help will be appreciated. Thank you!
Answer by wccrawford · Oct 11, 2011 at 12:45 PM
It looks like something might be setting timescale to 0, and your 'escape' code sets it to 0, then 1 when you hit escape twice. That's probably why the animations are funky.
Is it possible your raypoint isn't moving with the gun?
It may be something with the timescale. I will see what happens when I remove it.
And the raypoint is parented to the Weapon game object so it should be following it. I have one thing I can try to do and I will see if that fixes it.
Your answer
Follow this Question
Related Questions
Mecanim animation and scripting problems 0 Answers
Animation interference problem 1 Answer
Fireflies... 1 Answer
Animation doesn't play when calling it with a script!! 2 Answers
The name 'Joystick' does not denote a valid type ('not found') 2 Answers