Tuesday, February 4, 2014

Game Errors


I have been working on the animation for our characters hand. He currently has 4 animations (idle, and 3 different punches). They are playing nicely inside Unity with an animation type of Generic with baked key frames on the Inverse Kinematic handles

Here we can see a punch animation through the Game window (left side) and we can see the character in the Scene window (right side)
The problem is that whenever the character is out of the scene window view, the hand animations start acting weird, every time they do a punch, they get stuck right next to our character making them unable to be seen by our player though the Game window


but as soon as the character is visible in the Scene window the hand pops back up in the Game window and starts working perfectly again. (as long as it's visible in the Scene window)

I tried numerous things to fix the problem. I re-imported the object, I baked the key frames in Maya, I also took the scripting off of it and left it doing a loop of its animation, I tried making a build of the scene to test if it was just Unity effecting the game, but nothing seemed to work. I finally fixed it by parenting the scene camera to the player.

No comments:

Post a Comment