hello!
I'm trying to simulate a pause for a car game (in here: http://www.3drad.com/forum/index.php?topic=2641.0) and I think somehow I have almost everything solved but the rotation of the car.
If the car is spining (from drifting or a jump/accident) once resumed the spining is interrumpted.
I think, dont know, but think I could be able to solve that detail using iObjectSpin to get that spining values and reproduce it with the force object.
problem is I dont understand how iObjectSpin works, to be exactly I dont understand the return data and how I could apply to the force object (if!) to acomplish my objective.
searched for it in the forum but dosnt seem to be very popular...
anyone understand this function and could provide an example of usage?
also, you think I can use it with the force object to do what I want?
another idea?
I'm trying to simulate a pause for a car game (in here: http://www.3drad.com/forum/index.php?topic=2641.0) and I think somehow I have almost everything solved but the rotation of the car.
If the car is spining (from drifting or a jump/accident) once resumed the spining is interrumpted.
I think, dont know, but think I could be able to solve that detail using iObjectSpin to get that spining values and reproduce it with the force object.
problem is I dont understand how iObjectSpin works, to be exactly I dont understand the return data and how I could apply to the force object (if!) to acomplish my objective.
searched for it in the forum but dosnt seem to be very popular...
anyone understand this function and could provide an example of usage?
also, you think I can use it with the force object to do what I want?
Quote
iObjectSpin(OBJ_X,Vector3)
Return the specified object spin.
OBJ_X = object handle
Vector3 = spin vector.
The vector direction is the axis of rotation (absolute).
The length of the vector is the rotation speed (spin), in degrees per second.
another idea?