Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Game Development How to Make a Video Game Pickups Script the Fly Movement

Changing Jump Animation speed

Not really this topic question, but still. Tried to change in PlayerMovement script:

// ...then play the jump animation.
    playerAnimator.SetFloat ("Speed", 3f);

from 3f to any other value (tried 20, 200, 2000), but still don't see any changes in game (of course, saved the script before playing). As far as I understand, this line is for how fast the animation would play (or is it how fast the frog would jump?) Maybe I get this line wrong? Anyway, no particular change in game was noted.

Mike Atkinson
Mike Atkinson
6,882 Points

I was wondering this myself... I did a similar experiment, but the speed of the frog animation was still the same. Did you ever find the answer?