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

PlayerLocomotor Class

Extends MonoBehaviour, ILocomotionEventHandler
Moves a player when receiving events from ILocomotionEventBroadcasters.
The movement can be a combination of translations and rotations and it happens at the very end of the frame (after rendering).

Properties

Action< LocomotionEvent, Pose > WhenLocomotionEventHandled

Protected Fields

bool _started[Get]

Protected Functions

virtual void Start ( )

Member Functions

void HandleLocomotionEvent
( LocomotionEvent locomotionEvent )
void InjectAllPlayerLocomotor
( Transform playerOrigin,
Transform playerHead )
void InjectPlayerOrigin
( Transform playerOrigin )
void InjectPlayerHead
( Transform playerHead )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon