m_allowOffhandGrab
: bool |
Signature
bool OVRGrabbable.m_allowOffhandGrab |
m_grabbedBy
: OVRGrabber |
Signature
OVRGrabber OVRGrabbable.m_grabbedBy |
m_grabbedCollider
: Collider |
Signature
Collider OVRGrabbable.m_grabbedCollider |
m_grabbedKinematic
: bool |
Signature
bool OVRGrabbable.m_grabbedKinematic |
m_grabPoints
: Collider[] |
Signature
Collider [] OVRGrabbable.m_grabPoints |
m_snapOffset
: Transform |
Signature
Transform OVRGrabbable.m_snapOffset |
m_snapOrientation
: bool |
Signature
bool OVRGrabbable.m_snapOrientation |
m_snapPosition
: bool |
Signature
bool OVRGrabbable.m_snapPosition |
allowOffhandGrab
: bool
[Get] |
If true, the object can currently be grabbed.
Signature
bool OVRGrabbable.allowOffhandGrab |
grabbedBy
: OVRGrabber
[Get] |
Returns the OVRGrabber currently grabbing this object.
Signature
OVRGrabber OVRGrabbable.grabbedBy |
grabbedRigidbody
: Rigidbody
[Get] |
The Rigidbody of the collider that was used to grab this object.
Signature
Rigidbody OVRGrabbable.grabbedRigidbody |
grabbedTransform
: Transform
[Get] |
The transform at which this object was grabbed.
Signature
Transform OVRGrabbable.grabbedTransform |
grabPoints
: Collider[]
[Get] |
The contact point(s) where the object was grabbed.
Signature
Collider [] OVRGrabbable.grabPoints |
isGrabbed
: bool
[Get] |
If true, the object is currently grabbed.
Signature
bool OVRGrabbable.isGrabbed |
snapOffset
: Transform
[Get] |
An offset relative to the OVRGrabber where this object can snap when grabbed.
Signature
Transform OVRGrabbable.snapOffset |
snapOrientation
: bool
[Get] |
If true, the object's orientation will snap to match snapOffset when grabbed.
Signature
bool OVRGrabbable.snapOrientation |
snapPosition
: bool
[Get] |
If true, the object's position will snap to match snapOffset when grabbed.
Signature
bool OVRGrabbable.snapPosition |
Start
()
|
Signature
virtual void OVRGrabbable.Start() Returns void |
GrabBegin
(
hand
, grabPoint
)
|
Notifies the object that it has been grabbed.
Signature
virtual void OVRGrabbable.GrabBegin(OVRGrabber hand, Collider grabPoint) Parameters hand: OVRGrabbergrabPoint: ColliderReturns void |
GrabEnd
(
linearVelocity
, angularVelocity
)
|
Notifies the object that it has been released.
Signature
virtual void OVRGrabbable.GrabEnd(Vector3 linearVelocity, Vector3 angularVelocity) Parameters linearVelocity: Vector3angularVelocity: Vector3Returns void |