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

OneGrabPhysicsJointTransformer Class

Extends MonoBehaviour, ITransformer
An ITransformer 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

Indicates if the grabbing rigidbody should be kinematic or not.
Non-kinematic grabs can be interesting for simulating weight or more robust interactions.

Member Functions

Implementation of ITransformer.Initialize; for details, please refer to the related documentation provided for that interface.
Implementation of ITransformer.BeginTransform; for details, please refer to the related documentation provided for that interface.
Implementation of ITransformer.UpdateTransform; for details, please refer to the related documentation provided for that interface.
Implementation of ITransformer.EndTransform; for details, please refer to the related documentation provided for that interface.
Injects all required dependencies for a dynamically instantiated OneGrabPhysicsJointTransformer.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the underlying root Transform for a dynamically instantiated OneGrabPhysicsJointTransformer.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.

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?