LocomotionTurnerInteractor component acts as a 1D Axis (from -1 to 1) indicating if a turn should happen to the left or to the right. In order to produce the Axis Value, it reads the position of a transform and checks if the transform moved left or right from the initialization point (when the interactor goes out of Disabled state). The Select state indicates when the turning should happen, while the Axis Value indicates the direction and strength.| Property | Description |
|---|---|
Origin | Transform whose offset from the initialization point is measured to generate the Axis Value. |
Stabilization Point | The origin offset will be measured along the vector that is perpendicular to the stabilization point to the origin. |
Drag Threshold | Max length of the offset in both the left and right directions. |
Selector | Indicates when the interactor should select or unselect. Since this interactor doesn’t require interactables, SelectedInteractable is always null. |
Transformer | Used to internally transform the world coordinates to tracking space so the measurements are not affected by the player movement (if any). |
LocomotionAxisTurnerInteractor component acts as a 1D Axis (from -1 to 1) indicating if a turn should happen to the left or to the right. In order to produce the axis value, it reads the Horizontal (x) value of an input Axis 2D (like a joystick).| Property | Description |
|---|---|
Axis 2D | The input Axis 2D (for example, a joystick) from which the Horizontal axis will be read. |
Dead zone | For values bigger than the dead zone, the interactor will go into Select state. Otherwise it will stay in Normal state. |