Download

Limit velocity?

I’m working with the blueprint based ball demo and I’m trying to find a way to limit the max velocity of the ball. I have added a force depending on the input axis so that the player can get some control of the ball in the air. While on the ground the velocity is limited by the max angular velocity of the physicsball blueprint. Is there another setting that I’m missing somewhere, or do I have to set the velocity myself in blueprint?

We don’t have a setting to limit linear velocity, this is something you will have to do yourself.

I think I got it:

I split the vector so that I could isolate the x,y velocity from gravity.

Brilliant solution, worked like a charm! Thanks mate! :slight_smile:

Made it a little shorter:
UE4Editor_2017-05-07_13-45-32.png

Raise the dead

Even shorter :slight_smile:

Thank you all for these solutions, it’s quite elegant and works great.

added the Z to it myself as I needed it for my helicopter.
​​​​​​​