Property | Type | Description | |
---|---|---|---|
grabObjectDistance | float | ||
grabTriggerDistance | float | ||
grabbableLayers | LayerMask | ||
maxMovement | Vector3 | ||
minConfidence | float | ||
minMovement | Vector3 | ||
positionFiltering | float | ||
releaseBreakDistance | float | ||
releaseStrengthCurve | |||
releaseTriggerDistance | float | ||
rotationFiltering | float |
Property | Type | Description | |
---|---|---|---|
active_object_ | Collider | ||
current_pinch_position_ | Vector3 | ||
filtered_pinch_position_ | Vector3 | ||
last_max_angular_velocity_ | float | ||
object_pinch_offset_ | Vector3 | ||
palm_rotation_ | Quaternion | ||
pinch_state_ | PinchState | ||
rotation_from_palm_ | Quaternion |
Method | Description | |
---|---|---|
FixedUpdate ( ) : void | ||
OnDestroy ( ) : void | ||
Start ( ) : void |
Method | Description | |
---|---|---|
ContinueHardPinch ( ) : void | ||
ContinueSoftPinch ( ) : void | ||
FindClosestGrabbableObject ( Vector3 pinch_position ) : Collider | ||
GetNewPinchState ( ) : PinchState | ||
Hover ( ) : void | ||
ObjectReleaseBreak ( Vector3 pinch_position ) : bool | ||
OnRelease ( ) : void | ||
StartPinch ( ) : void | ||
UpdatePalmRotation ( ) : void | ||
UpdatePinchPosition ( ) : void |
protected FindClosestGrabbableObject ( Vector3 pinch_position ) : Collider | ||
pinch_position | Vector3 | |
return | Collider |
protected ObjectReleaseBreak ( Vector3 pinch_position ) : bool | ||
pinch_position | Vector3 | |
return | bool |
protected Vector3 current_pinch_position_ | ||
return | Vector3 |
protected Vector3 filtered_pinch_position_ | ||
return | Vector3 |
protected float last_max_angular_velocity_ | ||
return | float |
public AnimationCurve,UnityEngine releaseStrengthCurve | ||
return |