Handle component is a core part of the Interaction. These are what allow a user to 'grab' an object.
|Rigidbody||The Rigidbody that forces should be applied to. This can be on the same GameObject but is often found on a parent.|
|Physics Settings||Physics configuration to use for this interaction|
|Keep Hand Offset||If the positional and rotational offset of the hand should be retained when engaging the Handle.|
|Haptic Feedback||Haptic feedback settings (see Haptic Feedback)|
|Events||On Hover Enter - Triggered when a Handle enters range to be grabbed|
On Hover Exit - Triggered when a Handle leaves range to be grabbed
On Grab - Triggered when the Handle is grabbed
On Release - Triggered when the Handle is released
Creating a Handle
Platform Services Package
When using the Platform Services Package, a Scene Registry is required in order to identify your Handles. If no Scene Registry is present, the Handle will be unresponsive.
The most common way to add a Handle to a GameObject is by using the Add Component menu. The Handle can be in the Component menu:
Component > Immerse > Interaction > Interactable > Handle
An alternative way to add a Handle to a GameObject is by using the GameObject menu entry:
GameObject > Create Other > Immerse > Interaction > Handle With the object you wish to pick up selected in the Unity editor, this menu item will create a new child with a Handle component targeting the Rigidbody in the parent.
Updated about 1 year ago