Method TranslateAttachTransform
TranslateAttachTransform(Transform, Transform, float)
Translates the Attach Transform for this interactor. This can be useful to move a held object closer or further away from the interactor.
Declaration
protected virtual void TranslateAttachTransform(Transform rayOrigin, Transform attach, float directionAmount)
Parameters
| Type | Name | Description |
|---|---|---|
| Transform | rayOrigin | The starting position and direction of any ray casts. |
| Transform | attach | The Attach Transform of the interactor. |
| float | directionAmount | The translation amount. |