Can someone tell me how to make a program where you can set the gravity you want, and place blocks and apply force, etc... Or a link to a site would be helpful too.
Printable View
Can someone tell me how to make a program where you can set the gravity you want, and place blocks and apply force, etc... Or a link to a site would be helpful too.
Are you familiar with classmodules? They could be pretty useful in this case.
If you were anymore vague you'd fade away :)
grab a physics book or look on line, you'll find the math is a half done program, you just set your velocities, the mass of the objects, a distance scale factor and set time increments.
if it doesn't look real set slide bars for the distance scale and time and work out how strong you want the effect of gravity to be.
It's all MATH