Variables at the top let you change physics. Fun fact: In real life, these change depending on what planet you are on! Except starting speed. And bounciness. Those are technical constructs. Oh and mass. That's a object specific. Click once to choose where your rigidbody will spawn. Click again to have it move in that direction. Careful how you set variables. If gravity if much higher than friction the cubes will ignore all 3 of newton's laws and phase through the ceiling. If friction is too high, everything will spaz out. This project can be imported! Backpack the custom block, (in red square) add a forever loop so the code runs normally, and add 4 Variables: Gravity Friction Bounciness Spd(Click "For this sprite only") ALL OBJECTS TO COLLIDE MUST HAVE A BLACK OUTLINE. Or some other color, remember to change the code accordingly.
So I'm here to release this. Thought it would be fun. Not returning permanently, I've moved on to HTML, CSS, and Javascript. Bugs: Rather jumpy, doesn't sit still on the ground Slowly falls through floor (sometimes) Changelog: V1.5 Added mass. F=ma so now we can control m. V1.4 Hitting something now halves speed. If you want a bouncy mess, increase bump strength, which is now bounciness to ease confusion V1.3 Gravity will now only add speed when the object is pointed down. Before gravity was basically free speed. Added "Bump strength" which adds extra speed for non moving objects. V1.2 Bounciness is gone in favor of using Newton's third law. Made sliders more precise by making max values smaller. Anything above 50 is excessive anyway. V1.1 Fixed an issue where the rigidbody would go the opposite of the chosen direction. Fixed some collision issues and added bounciness. V1 Release