UxrGrabbableObject.FirstGrabPointIsMain Property

Gets or sets whether the first grab point in the list is the main grab in objects with more than one grab point. When an object is grabbed with both hands, the main grab controls the actual position while the secondary grab controls the direction. Set it to true in objects like a rifle, where the trigger hand should be the first grab in order to keep the object in place, and the front grab will control the aiming direction. If false, the grab point order is irrelevant and the hand that grabbed the object first will be considered as the main grab.

Namespace: UltimateXR.Manipulation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public bool FirstGrabPointIsMain { get; set; }

Property Value

Type: Boolean

See Also

Reference

UxrGrabbableObject Class
UltimateXR.Manipulation Namespace