? Quick Velocity Demo ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password
[Help Wanted] SmileBASIC Documentation Project

Quick Velocity Demo

Submitted
Updated
Author
Chemicalex
Public Key
2J5YV3N4
Min. Compat.
All
Rating
2 votes
Description 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!
Categories
Keywords
2 Comment(s) Kuragen Kuragen Thanks but its to complicated for a begginer to understand. Chemicalex Chemicalex Drawing I like to draw! Hobbies RNG Hidden Easter Eggs Video Games I like to play video games! Hobbies 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.