Forgot mass in gravity force

main
Cameron Murphy Reikes 2 years ago
parent 1ef0c78f33
commit cb5b780534

@ -267,7 +267,7 @@ main :: () {
} }
// gravity // gravity
it.force.y += -9.81; it.force.y += -9.81 * it.shape.mass;
if !it.static if !it.static
{ {

Loading…
Cancel
Save