Topic: Better way to do Jumping.

Just created an example demonstrating a better way to do jumping than the method used for the sponza level. Instead of using a dummy object that is connected to the player to detect collision with the floor, I used a dummy object as a floor, and detect collision of the object with it. I made it a ghost also.

Download (9mb): …

A sample of the script:

if onKeyDown("ENTER") and isCollisionBetween(box,ground) then

The method I use to play a sound once is just a quick and dirty (very dirty) method.