Maintaining velocity uphill

I'm building a basic platformer with a constant velocity for the runner. Some of the platforms are at an uphill or downhill angle and it's changing the velocity of the runner. How can I change it so that no matter the angle, my actor is moving at the same velocity?

Comments

  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870

    Are you using a constrain attribute on the actors velocity? If you are just using velocity, it will be affected by angled ramps and such. A constraint on the velocity will force the actor to maintain that velocity.

Sign In or Register to comment.