LoginLogin

Quick Velocity Demo

Root / Submissions / [.]

chemicalexCreated:
Download:2J5YV3N4
Version:Size:
just some quick demo I made to show the bare bones of velocity-based physics. The object acts as a ball with some ground friction.

Instructions:

Enter the start X velocity (somewhere between 0.1 and 5 for best results). Enter the gravitational pull for the Y velocity (for falling speed). Enjoy!

Thanks but its to complicated for a begginer to understand.

Replying to:Kuragen
Thanks but its to complicated for a begginer to understand.
Basically, when you bounce, it sets your velocity to itself times -1 divided by the elasticity (In this case, it's 1.5). This gives off a realistic physics effect.