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

ILocomotionEventHandler Interface

Defines an interface for handling locomotion events in the Interaction SDK.
This interface enables components to process and respond to various types of movement and teleportation events. Oculus.Interaction.Locomotion.CapsuleLocomotionHandler and Oculus.Interaction.Locomotion.FlyingLocomotor for example implementations.

Events

Event that fires after a LocomotionEvent has been successfully handled, providing the original event and the resulting pose transformation.
This event can be used to synchronize other components or update visual feedback systems after locomotion occurs.

Member Functions

Processes an incoming locomotion event and applies the appropriate transformations or state changes based on the event type.
Parameters
locomotionEvent
The LocomotionEvent containing movement or teleportation data
Did you find this page helpful?
Thumbs up icon
Thumbs down icon