API reference
API reference
Select your platform
No SDKs available
No versions available

StepLocomotionBroadcaster Class

Extends MonoBehaviour, ILocomotionEventBroadcaster
Produces a Relative Translation Locomotion event in the XZ direction relative to an aiming transform.
This aiming transform will typically represent the head or the hand of the player.

Properties

Transform Origin[Get]
float StepLength[Get]

Protected Fields

bool _started[Get]

Fields

int Identifier[Get]

Events

Action< LocomotionEvent > WhenLocomotionPerformed

Protected Functions

virtual void Awake ( )
virtual void Start ( )

Member Functions

Broadcasts a relative translation locomotion event to the left of the aiming transform.
Broadcasts a relative translation locomotion event to the right of the aiming transform.
Broadcasts a relative translation locomotion event to the front of the aiming transform.
Broadcasts a relative translation locomotion event to the back of the aiming transform.
Generates a relative translation locomotion event in the specified direction relative to the aiming transform.
Parameters
relativeDirection
The XZ direction, relative to the aiming transform, for the step