API Panel.Position.RotateAlong
From Flowcode Help
<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