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

MoveFromTargetProvider Class

Extends MonoBehaviour, IMovementProvider
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.

Member Functions

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
Returns
An instance of IMovement configured for the selected Interactable.
Did you find this page helpful?