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

JoystickPoseMovementProvider Class

Extends MonoBehaviour, IMovementProvider
Provides a movement provider that uses joystick input to control the movement and rotation of an Interactable<TInteractor,TInteractable> object.
This can be useful for examining an object up close and from different angles. This class is designed to work with an IInteractableView view which is used to access the last selecting controller via the respective IInteractorView. This movement provider allows developers to customize the movement speed, rotation speed, and distance constraints of the Interactable<TInteractor,TInteractable> object.

Properties

Gets or sets the speed at which movement occurs.
A higher value will result in faster movement.
Gets or sets the speed at which rotation occurs.
A higher value will result in faster rotation.
Gets or sets the minimum distance along the Z-axis for the grabbed object.
This value must be greater than or equal to 0.
Gets or sets the maximum distance along the Z-axis for the grabbed object.
This value must be greater than or equal to the minimum distance.

Member Functions

Creates a new movement instance that uses joystick input to control the position and rotation of an object.
The movement instance is created with the specified movement speed, rotation speed, minimum distance, and maximum distance.
Returns
A new movement instance that can be used to control the position and rotation of an object.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon