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

MoveFromTargetProvider Class

Extends MonoBehaviour
Moves the selected interactable 1 to 1 with the interactor.
For example, if your interactor moves up and to the right, the selected interactable will also move up and to the right.

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.MoveFromTargetProvider.CreateMovement()
Returns
IMovement  An instance of IMovement configured for the selected Interactable.