Set Head Rotation (LogiX node)
Jump to navigation
Jump to search
Set Head Rotation | ||
---|---|---|
Inputs | ||
Impulse | Set | |
UserRoot | UserRoot | |
FloatQ | Rotation | |
Outputs | ||
Impulse | OnSet |
The Set Head Rotation node rotates the input UserRoot
such that the user's head rotation is at the input global Rotation
when an impulse is received at Set
.
Usage
The Rotation
input is interpreted in Global coordinate space with a default value (in Euler angles) of [0;0;0].
The OnSet
output fires an impulse when the input UserRoot
has been successfully rotated as a result of an impulse received at Set
(even if the user was already exactly at the target Rotation
). An impulse will not be fired if there is no valid UserRoot
input.
This node rotates the user corresponding to the input UserRoot
while preserving their position and scale.