HomeGuides
HomeGuidesLearn about the Immerse SDK installerLog In

The Handle component is a core part of the Interaction. These are what allow a user to 'grab' an object.

547547

Handle component as it appears in the Inspector

Description
RigidbodyThe Rigidbody that forces should be applied to. This can be on the same GameObject but is often found on a parent.
Physics SettingsPhysics configuration to use for this interaction
Keep Hand OffsetIf the positional and rotational offset of the hand should be retained when engaging the Handle.
Haptic FeedbackHaptic feedback settings (see Haptic Feedback)
EventsOn 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

Add Component

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

Add GameObject

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.


Related pages