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

OneGrabPhysicsJointTransformer Class

Extends MonoBehaviour, ITransformer
A Transformer that moves the target using Physics joints Updates an internal kinematic rigidbody attached with a joint to the grabbable.
It also supports adding custom joints for grabbing to improve stability on some constrained grabs.

Properties

bool IsKinematicGrab[Get]

Member Functions

void Initialize
( IGrabbable grabbable )
void BeginTransform ( )
void UpdateTransform ( )
void EndTransform ( )
void InjectOptionalCustomJoint
( ConfigurableJoint customJoint )
void InjectOptionalRigidbodiesRoot
( Transform rigidbodiesRoot )

Protected Functions

Creates a disabled GameObject for holding the data of the desired custom joint.
Returns
A children GameObject for holding joint data.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon