- Home /
FBX Animations in Unity
Ok, so I have searched through a few questions on here and haven't quite found my answer, so I think I have to ask it now.
I'm making an RPG. It's in First-Person, and I'm using the FPS Controller/Mouse Look defaults. I modeled a bow, and animated it to draw the string back. I put the bow into unity and childed (childed?) it to my player. The BOW (Not animation) looks fine in the window, but I don't know how to script something so if I hold down the mouse button it draws the bow (and stays drawn). If I try to set the animation to automatically play, just to view it, the bow disappears and I can't view it at all. What's going on? Why is my bow disappearing, and how do I script it to draw with the mouse?
is there an animation/keyframe on the root node of the bow? Press F in scene view to find your bow once it has "disappeared".
Ok so I found out that when you first play the game, if the "Play Automatically" box is checked, the animation doesn't even play, but ins$$anonymous$$d it repositions itself to 0, 0, 0 relative to my player. Why?
Answer by garner · Apr 02, 2012 at 01:35 PM
There could be an issue with the translation stored on the meshes before you bound the skin, does the bow animation work before it's parented to the character? Set the animation type to clamp and you have to rewind the animation to the beginning, there's tons of stuff about this on the forum.
Sorry I realized that wouldn't be an issue because you said the model looks good in the scene view.
No, you see, the model looks fine in game view as long as it's not playing an animation. Once an animation is even mentioned, it still looks fine til you press play. Then its just not there.
Your answer
Follow this Question
Related Questions
Animation, Split or Combine? 1 Answer
export simple animation from 3ds max 2011 1 Answer
Imported Animations From 3DS Max 1 Answer
Animations not showing 2 Answers
3ds Max animation import 1 Answer