|
The functions below are the equivalent of STATE_group_get\set_physics_...
They will be useful for you only if you build some kind of World Editor (Such as STATE World Builder)
The functions wont show any change till we save the world and reload it in Viewer mode
and when the chase_type is set to CHASE_PHYSICS.
Return value: The rotation space (WORLD_SPACE or OBJECT_SPACE)
through rotation_xyz[] the function returns the rotation angles
rotation_xyz[0] is the number of angles that the object will rotate
around the X axis, each time STATE_engine_render() is called
see also STATE_object_set_physics_rotation()
Note that this is only relevant when applied to a dynamic group and that CHASE_PHYSICS is applied (only in viewer mode)
|