LocomotionTurnerInteractor Class
LocomotionTurnerInteractor is an interactor that processes the position of a point in space and outputs an Axis1D value based on the lateral displacement of said point.
This interactor does not require any interactable.
Transformer is required so calculations can be done in Tracking space.
Offset from the center point at which the pointer will be dragged.
Center point where the Axis value is 0.
Point of the actual origin in world space.
The offset from Origin to MidPoint indicates the Axis value.
Action< float > WhenTurnDirectionChanged
Event broadcasted when the Axis changes sign.
override bool ShouldHover[Get]
override bool ShouldUnhover[Get]
virtual override void Awake ( )
virtual override void Start ( )
virtual override void HandleEnabled ( )
virtual override void DoHoverUpdate ( )
virtual override void DoSelectUpdate ( )
Axis value of the interactor, between -1 and 1 where a negative number indicates a left turn and a positive value a right turn.
ReturnsA value between -1 and 1
void InjectAllLocomotionTurnerInteractor ( Transform origin,
Transform stabilizationPoint,
void InjectOrigin ( Transform origin )
void InjectStabilizationPoint ( Transform stabilizationPoint )