well, sort of
actually is a fake pause, so it dosnt pause the simulation and have some issues when the game is resumed, like speed which can be different, and if the car is rotating the rotation effect is lost... but at least it will keep the inertial direction if is drifting.
also, this will only freeze the car, one car... if you want to apply the "pause" to other things.. well, good luck!
drive with arrows, pause with enter, stop losing your time with esc .
------------------------------
maybe I could know the rotation of the car with iObjectSpin(OBJ_X,Vector3) and recreate it with forces?
I dont really understand very good the vectors concepts and therefore the explanation for iObjectSpin, if someone could drop some light on this subject?
--------------------------------------
version 2:
now the spining effect of the paused object (the car) is reproduced, sometimes looks like it works, sometimes not. if I would play it safe, I doubt I would use the spining feature.
here's a vague explanation of how is done http://www.3drad.com/forum/index.php?topic=2645.msg20483#msg20483
also, this new demo includes a paused timer. first tried to stop & start the timer, unchecking in the object "reset internal timers when stopped" but it begins at 0 again, so I used a var. either that function is broken or works for something diferent.
actually is a fake pause, so it dosnt pause the simulation and have some issues when the game is resumed, like speed which can be different, and if the car is rotating the rotation effect is lost... but at least it will keep the inertial direction if is drifting.
also, this will only freeze the car, one car... if you want to apply the "pause" to other things.. well, good luck!
drive with arrows, pause with enter, stop losing your time with esc .
------------------------------
maybe I could know the rotation of the car with iObjectSpin(OBJ_X,Vector3) and recreate it with forces?
I dont really understand very good the vectors concepts and therefore the explanation for iObjectSpin, if someone could drop some light on this subject?
--------------------------------------
version 2:
now the spining effect of the paused object (the car) is reproduced, sometimes looks like it works, sometimes not. if I would play it safe, I doubt I would use the spining feature.
here's a vague explanation of how is done http://www.3drad.com/forum/index.php?topic=2645.msg20483#msg20483
also, this new demo includes a paused timer. first tried to stop & start the timer, unchecking in the object "reset internal timers when stopped" but it begins at 0 again, so I used a var. either that function is broken or works for something diferent.