World Constraint

Generic badge Generic badge Generic badge Generic badge
A world-fixed object, held in place with a constraint.


How it works
"World Constraint" uses "World.prefab" as a parent constraint source. "World.prefab" is not in the scene, so "World Constraint" and it's child hierarchy will not move with the avatar.
The parent constraint on "Container" uses "Reset Target" as a source, which is used to bring "Container" to your avatar.
Install guide
"World Constraint.prefab" should go to the base of your Unity scene, which will give it base Unity scaling.
Unpack the prefab by right-clicking it and move the prefab to base of your avatar.
Expand the prefab, and locate "Reset Target". Move this object out of the prefab to anywhere else on your avatar.
How to use
Disable the "Container" parent constraint component to leave it in world space, and enable it to reset the "Container" to "Reset Target".
Downloads
You can grab the latest version of the World Constraint in Releases.
License
World Constraint is available as-is under MIT. For more information see LICENSE.
Contact us
If you need help, our support channel is on Discord.