Trying to do a golf game,3D, using the physics within the engine I coded, the problem is, I have to set the cansleep() to 0 so the ball remains active, this causes another problem,as when i read out the velocity of the ball at anytime it seems to never be zero,so i am guessing if you set sleep to 0 then a random +- value gets fed to the x,y,z velocities, very small values!
But how do i tell with that, that the player can shoot again, ideally i wanna check if the x,y,z velocities are zero, but they never are!
Edit** damnit.. wrong chat board
Hail to the king, baby!