A constraint system to preserve offsets
https://github.com/VRLabs/Offset-Constraint/assets/76777936/f20790ad-0a5e-49ee-aaac-3b2e380f5f93
Offset Constraint FX
to your own FX Controller, using the Avatars 3.0 Manager tool.Offset Constraint
prefab into the base of your Hierarchy.Offset Target
Offset Target
outside of Offset Constraint
and place it anywhere in your avatars hierarchy as needed.[!NOTE]
When building for Quest, you will have to remove unsupported components and shaders
Offset Constraint
-> Container
.
Container
.There are two bools in your FX Controller:
OffsetConstraint/Control
:
Container
in world space and allows the user to set the specified offset.Container
to the Offset Target
with the specified offset.OffsetConstraint/Reset
moves the Container
to the Offset Target
.Constraints: 2
FX Animator Layers: 1
Offset Constraint
|-Container
| |-Cube
|-Root
| |-End
|-Offset Target
Offset Constraint is available as-is under MIT. For more information see LICENSE.
dev.vrlabs.offset-constraint
Undefined
1.0.3
2022.3 or later
No dependencies
No legacy packages