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

MaintainOffsetFromTargetProvider Class

Extends MonoBehaviour
This provider maintains the Source pose at a fixed offset from the Target pose, as if the Source was parented to the Target

Methods

CreateMovement ()
Creates and returns an instance of IMovement.
The instance is used to generate movement when an Interactable is Selected Interactor.InteractableSelected
For an example implementation, see ObjectPullProvider.CreateMovement For example usage, see RayInteractable.GenerateMovement
Signature
IMovement Oculus.Interaction.MaintainOffsetFromTargetProvider.CreateMovement()
Returns
IMovement  An instance of IMovement configured for the selected Interactable.