|
Converts a point in world space to a point in object space.
Returns OK or VR_ERROR if failed
Here are some examples:
The point (0,0,0) in object space will always translate to the location of the object in world space
(-1,0,0) in object space is one unit in front of the object this is equal to
the object location plus the object direction (a unit vector) in object space.
(1,0,0) in object space is one unit in the back of the object
(0,1,0) in object space is always one unit to the right of the object.
(0,-1,0) in object space is always one unit to the left of the object.
(0,0,1) in object space is always one unit up above the object.
See also STATE_object_convert_point_to_world_space()
|