FragMate CommunityLog in

FragMate - Software and Game Developer Community, including Resources, Forums, Marketplace & More.

animation not playing (AnimationSetup)

Share

descriptionanimation not playing (AnimationSetup)

more_horiz
I did exactly as MisterNinjaBoy said in the special ep for fps tut...but it dose not work for me...here is what i did i made the animation and named it walk then i put the script and the animation in the gun.Please Help Me Thanks Smile

descriptionRe: animation not playing (AnimationSetup)

more_horiz
Please put this in Help next time.
Wooden

descriptionRe: animation not playing (AnimationSetup)

more_horiz

I think I know what you did wrong.Select your game object that you want to animate,go to the component tab,then misicellaneous,and click animation.Then you can animate your game object.

_________________
FPS

descriptionRe: animation not playing (AnimationSetup)

more_horiz
[You must be registered and logged in to see this link.] wrote:

I think I know what you did wrong.Select your game object that you want to animate,go to the component tab,then misicellaneous,and click animation.Then you can animate your game object.


i did that but when i do the animation does not start...heres the script:

function Update()
{
if(Input.GetKeyDown("w"))
{
animation.Play("walk", PlayMode.StopAll);
}
}

descriptionRe: animation not playing (AnimationSetup)

more_horiz
Hmmm try this.

Code:

var AnimationClip : AnimationClip ;
function Update() {

 if (Input.GetKeyDown (KeyCode.W))
{
    animation.Play();
 
}

}

_________________
FPS

descriptionRe: animation not playing (AnimationSetup)

more_horiz
[You must be registered and logged in to see this link.] wrote:
Hmmm try this.

Code:

var AnimationClip : AnimationClip ;
function Update() {

 if (Input.GetKeyDown (KeyCode.W))
{
    animation.Play();
 
}

}



sorry i dont know where to put it

descriptionRe: animation not playing (AnimationSetup)

more_horiz
Here is a link to my google+,I have you a tutorial for animation I made.If you still cant get it then I dont know what to do.  Wink Good luck     [You must be registered and logged in to see this link.]

_________________
FPS

descriptionRe: animation not playing (AnimationSetup)

more_horiz
[You must be registered and logged in to see this link.] wrote:
Here is a link to my google+,I have you a tutorial for animation I made.If you still cant get it then I dont know what to do.  Wink Good luck     [You must be registered and logged in to see this link.]


Thanks Man

descriptionRe: animation not playing (AnimationSetup)

more_horiz
You got it?

_________________
FPS

descriptionRe: animation not playing (AnimationSetup)

more_horiz
[You must be registered and logged in to see this link.] wrote:
You got it?


yup it worked Thank You!
Permissions in this forum:
You cannot reply to topics in this forum