|
Set the direction towards which the object will point .
Example:
DWORD object=STATE_object_get_first_object();
Make the object points towards the positive Y axis (pointing right)
STATE_object_set_direction(object, 0,1,0);
Remarks:
Note that STATE_object_set_direction(object, 10,20,30);
has exactly the same result as STATE_object_set_direction(object, 1,2,3);
For more information about coordination systems and setting directions see the book (download the book free from www.3dstate.com )
See also STATE_object_set_direction1()
|