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

GrabFreePhysicsTransformer Class

Extends MonoBehaviour, ITransformer
An ITransformer that can translate and rotate a rigidbody using any number of grab points applying velocities directly so it can still interact with other colliders.
See GrabFreeTransformer for a version that applies movement to the transform directly.

Properties

Strength of the velocity applied during fixed update
Strength of the angular velocity applied during fixed update
Maximum delta for the linear velocity applied during fixed update
Maximum delta for the angular velocity applied during fixed update

Protected Functions

virtual void Reset ( )

Member Functions

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.
Parameters
grabbable
The owning IGrabbable for this instance.
Invoked by the owning IGrabbable to instruct the ITransformer to start its procedural animation.
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.
Invoked by the owning IGrabbable to instruct the ITransformer to end its procedural animation.
Typically, this is invoked in response to the end of a selecting grab interaction.
void InjectOptionalRigidbody
( Rigidbody rigidbody )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon