Forum rules - please read before posting.

Alter legacy animation speed?

Hi,
I'm having an issue with the animation speed not matching the movement speed.  Is it possible to alter the speed of this animation?  I have tried setting it by creating a new script and initialising it with:

animation["Walk"] = 2.0f;

but I get a null reference error.

I've also tried using object: Send message with a custom value but it doesn't do anything either.

Sorry I'm a little new to this however I feel this is probably a trivial task.

Thanks

Comments

  • This is always going to be a bit of a hack, because the best way to do this is to modify the animation file itself.  But try this line instead:
    GetComponent 
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.