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

AutoMoveTowardsTargetProvider Class

Extends MonoBehaviour, IMovementProvider
Gradually pulls the selected interactable towards your interactor.

Properties

PoseTravelData TravellingData[Get]
IPointableElement PointableElement[Get]

Fields

List< AutoMoveTowardsTarget > _movers[Get]

Protected Functions

virtual void Awake ( )
virtual void Start ( )

Member Functions

Creates and returns an instance of IMovement.
The instance is used to generate movement when an Interactable is Selected Interactor.InteractableSelectedFor an example implementation, see ObjectPullProvider.CreateMovement For example usage, see RayInteractable.GenerateMovement
Returns
An instance of IMovement configured for the selected Interactable.
void InjectAllAutoMoveTowardsTargetProvider
( IPointableElement pointableElement )
void InjectPointableElement
( IPointableElement pointableElement )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon