Search found 1 match

by silvr64official
Fri Jun 02, 2023 6:25 am
Forum: Support and Development
Topic: Is there a better way to add gravity to my game?
Replies: 3
Views: 830

Is there a better way to add gravity to my game?

In my games that I made myself, I add code that basically changes the objects y velocity by the games gravity variable which’s adds the y velocity to the y position of the object (unless the object is touching another object then it’s y velocity resets to zero which I have trouble figuring out :cry:...