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