From To Rotation (LogiX node)
Jump to navigation
Jump to search
From To Rotation | ||
---|---|---|
Inputs | ||
Float3 | From | |
Float3 | To | |
Outputs | ||
FloatQ | * |
The From To Rotation LogiX node creates a rotation represented as a native quaternion which rotates the first (From) vector to the second (To) vector.
Usage
This node can be used to apply a rotation so that the From vector, e.g. a vector along the Y axis, follows a target direction (the To vector).
Examples
Here we want a rotation that rotates a vector along the X axis to a point along a vector halfway between the X and Y axes, or in other words, points the X vector in that direction.
The resulting rotation is 45 degrees about the Z axis.
Node Menu
(Top) → Math → Rotation → From To Rotation
Math / Rotation | ||||||
---|---|---|---|---|---|---|
Back | Axis Angle | Euler Angles | From Euler | From To Rotation | Inverse Rotation | Look Rotation |
To Axis Angle |