Grabbing
Grabbing is facilitated by the interaction between a Grabber component and a Handle. The avatar prefab includes a grabber for each hand.
Objects can be grabbed by calling the Grab method, which is linked to the avatar input’s grip event.
A Handle offers several configurable options to customize the behavior of the grab interaction:
Field | Description |
---|---|
Rigidbody | Rigidbody that this Handle should affect |
Physics Settings | Physics settings used for physical movement mode |
Snapper | Snapper associated with this Handle. This snapper will check for possible locations snap when the handle is released |
Grab Offset | Maintain positional and rotational offset when grabbing this handle |
Grab Requirements | Requirements that must be met to allow a user to grab this Handle |