Question by
kadin700 · Jan 24, 2016 at 02:21 AM ·
animationjavascripterrorphysics
Animation Types Won't Play
So I created an animation in blender, and I exported it as a .fbx to Unity 5. No matter what I changed the rig type to (Legacy or Generic), whenever I attempted to play it with my script, it wouldn't work.
function Swing() { if(Input.GetButtonDown("Fire1")){ GetComponent.().Play("Default Take"); } }
Also whenever it is a Legacy animation, if I have it play automatically, it always travels to the center of the map.
Comment