ah, i'm having (not-so-fond) memories re: setting/checking those thresholds. i remembered that sometimes the distance will = 0.0 when it's actually still moving... i thought it came up in
blink's kart thread along with a work-around but couldn't find it on a quick skim. alas, since we dont have a
GetObject3dPhysicsIsSleeping() command, we'll have to work one out for ourselves.
meanwhile, started a proof of concept:
which includes something like:
SetObject3DPhysicsCanSleep(ball,0)
SetObject3DPhysicsLinearVelocity(ball,SIN(camay#),0,COS(camay#),1000)
SetObject3DPhysicsCanSleep(ball,1)
good luck, shadey. share when ur ready