intrinsic-190 Orient3DObject |
Top Previous Next |
190: Orient3DObject(Handle, Mode, DirX, DirY, DirZ, UpX, UpY, UpZ);
This intrinsic rotates an object based on a direction vector instead of the Yaw, Pitch and Roll used in the Rotate3DObject intrinsic.
Arguments:
Handle. This argument is an integer handle created by the Add3DObject intrinsic. It specifies the object to be rotated. The object can be of any type.
DirX, DirY, DirZ. These three real values specify a direction vector that is used to orient the object. In other words, the object is pointed in the direction of this vector.
UpX, UpY, UpZ. These three real values specify an Up vector that is used to orient the object. In other words, the object's up direction is aligned with this vector.
|