Component:GrabTransformReset

From Resonite Wiki
Component image 
Grab Transform Reset component as seen in the Scene Inspector

The GrabTransformReset component resets transforms of a grabbable on the same slot upon grab and/or release.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
ResetPositionOnGrab Bool Whether to set the grabbable position to 0 on grab.
ResetRotationOnGrab Bool Whether to set the grabbable rotation to 0 on grab.
ResetScaleOnGrab Bool Whether to set the grabbable scale to 1 on grab.
ResetPositionOnRelease Bool Whether to set the grabbable position to 0 on release.
ResetRotationOnRelease Bool Whether to set the grabbable rotation to 0 on release.
ResetScaleOnRelease Bool Whether to set the grabbable scale to 1 on release.

Usage

Attach to the same slot as a grabbable Component to utilize its features.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also