UxrGrabManager.GetGrabbedObjectAngularVelocity Method
Gets the current world-space angular velocity, in degrees per second, of an object that is being grabbed.
Namespace: UltimateXR.Manipulation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public Vector3 GetGrabbedObjectAngularVelocity(
UxrGrabbableObject grabbableObject,
bool smooth = true
)
Parameters
- grabbableObject
- Type: UltimateXR.Manipulation.UxrGrabbableObject
Grabbable object - smooth (Optional)
- Type: System.Boolean
Whether to smooth the velocity using a previous frame data window for improved behavior
Return Value
Type: Vector3
Angular velocity in world-space euler angle degrees per second