Difference between revisions of "API Panel.Position.RotateAlong"
From Flowcode Help
Jump to navigationJump to search (XML import) |
|||
Line 39: | Line 39: | ||
==Detailed description== | ==Detailed description== | ||
− | + | [[File:SIMAPI_Panel_Position_Rotate_Pic1.png|thumb|200px|right|Rotation around X]] | |
+ | The rotation calls allow an object to be [[Object rotation|rotated]] around any point in any axis. | ||
+ | An object can rotate around it's own '''axis''', or around the axis of another object's axis(x,y,x). An axis is the direction an object is facing. | ||
==Examples== | ==Examples== |
Revision as of 21:57, 22 May 2013
<sidebar>API contents</sidebar> Rotates the object by the given rotation along an axis
Contents
Parameters
HANDLE Handle
- The position or component to update
- The default value for this parameter is: this
HANDLE Pivot
- The coordinates of the rotation center
HANDLE Axis
- An axis to align the angles to
FLOAT X_Pitch
- The local X degrees to increment by
- The default value for this parameter is: 0
FLOAT Y_Yaw
- The local Y degrees to increment by
- The default value for this parameter is: 0
FLOAT Z_Roll
- The local Z degrees to increment by
- The default value for this parameter is: 0
Return value
This call does not return a value
Detailed description
The rotation calls allow an object to be rotated around any point in any axis.
An object can rotate around it's own axis, or around the axis of another object's axis(x,y,x). An axis is the direction an object is facing.
Examples
Calling in a calculation
- Add to a calculation icon:
::Panel.Position.RotateAlong(handle, pivot, axis, x_pitch, y_yaw, z_roll)
No additional information