API reference
API reference
Select your platform
No SDKs available
No versions available

PhysicsGrabbable Class

Extends MonoBehaviour
Makes the GameObject it's attached to kinematic during a grab.
As a result, the GameObject can be transformed 1-1 without any undesirable effects.

Properties

IPointable Pointable[Get]

Protected Fields

bool _started[Get]

Events

Action< Vector3, Vector3 > WhenVelocitiesApplied

Protected Functions

virtual void Awake ( )
virtual void Start ( )
virtual void OnEnable ( )
virtual void OnDisable ( )

Member Functions

void ApplyVelocities
( Vector3 linearVelocity,
Vector3 angularVelocity )
void InjectAllPhysicsGrabbable
( IPointable pointable,
Rigidbody rigidbody )
void InjectAllPhysicsGrabbable
( Grabbable grabbable,
Rigidbody rigidbody )
void InjectGrabbable
( Grabbable grabbable )
void InjectPointable
( IPointable pointable )
void InjectRigidbody
( Rigidbody rigidbody )
void InjectOptionalScaleMassWithSize
( bool scaleMassWithSize )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon