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):
https://sites.google.com/site/maratisfi
Puller.zip
A sample of the script:
if onKeyDown("ENTER") and isCollisionBetween(box,ground) then
addCentralForce(box,{0,0,force},"local")
end
The method I use to play a sound once is just a quick and dirty (very dirty) method.