OneGrabPhysicsJointTransformer Class
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.
bool IsKinematicGrab[Get]
Invoked by the owning
IGrabbable as part of its own initialization, passing itself as
grabbable so that the
ITransformer can do any required initial setup.
Typically, this is invoked in response to the start of a selecting grab interaction.
Invoked by the owning
IGrabbable to instruct the
ITransformer to advance to the next frame of its procedural animation.
Typically, this is invoked in response to the continuation of a selecting grab interaction.
Typically, this is invoked in response to the end of a selecting grab interaction.
void InjectOptionalCustomJoint ( ConfigurableJoint customJoint )
void InjectOptionalRigidbodiesRoot ( Transform rigidbodiesRoot )
GameObject CreateJointHolder ( )
Creates a disabled GameObject for holding the data of the desired custom joint.
ReturnsA children GameObject for holding joint data.