|
Returns the location of the object.
Example A:
double x,y,z;
DWORD object=STATE_object_get_first_object();
STATE_object_get_location(object, &x, &y, &z);
Example B:
Note that instead of doing it as shown below, it is easier to use the function STATE_object_get_location1() instead
double xyz[3];
DWORD object=STATE_object_get_first_object();
STATE_object_get_location(object, &xyz[0], &xyz[1], &xyz[2]);
See also STATE_object_get_location1()
|