Archive 19/01/2023.

Down hill movement on the physics simulation

ext1

Hello,

I’m trying to understand why the physics simulation reacts in a certain way.
I’ve made this diagram trying to illustrate it:
o8a9Sf7
When I apply a permanent constant forward impulse to a rigid body on the top of a slope, it “jumps” forward until it fall on the slope (point A) and then continues down.

Does anyone know why there are no other jumps after point A?
Considering I’m still applying the constant forward impulse.

Best regards.

godan

If you shot a gun at the top of a hill, would you expect it to roll down like a ball?

Just set up gravity and a collider for the hill, and let it happen.

Eugene

Just physics.

At the start, you have zero vertical velocity. When you push the body, it moves horizontally and starts to fall.
When the body hits the slope, it has non-zero vertical velocity. When you push the body, it moves diagonally.

ext1

Thank you very much!
Vertical velocity was exactly what I was missing.

Lumak

Bounciness of a physics object is affected by restitution as demonstrated in this video:
https://www.youtube.com/watch?v=fn_xanuLJiE

ext1

Thanks for the video, that helps a lot.