#Animation and FPS movement

1 messages · Page 1 of 1 (latest)

untold swallow
#

Hey guys im having a problem with an intro scene. basically the player gets up but after you are not able to move or walk around. do you know how i can make it so i can control the player after the animation?

jovial spear
#

Disable the user movement script/ functionality while the intro is playing, and re-enable it after the intro done ?

untold swallow
#

good idea i'll try that

untold swallow
untold swallow
#

@jovial spear ?

jovial spear
untold swallow
#

how do i do this?

#

i tried this Player.GetComponent<Animator>.enabled = true;
Player.GetComponent<Animator>.enabled = false;

#

but its not working

#

wait wait

#

hmm

#

i tried this

#

Player.GetComponent<Animator>().enabled = true;
Player.GetComponent<Animator>().Play("Start Animation");
Player.GetComponent<Animator>().enabled = false;

#

and instead the player just got crippled and fell over half way through the animation

#

unless

#

didnt work

untold swallow
#

helllo?

low sable
#

You may not be able to move because of the null reference exception

#

I’m the video you provided there appears to be a null reference exception being thrown in the console

#

Looks like you don’t use the animator for anything but playing this animation

jovial spear