A world-fixed object, held in place with a constraint
World Constraint
uses World.prefab
from the assets as a parent constraint source. World.prefab
is not in the scene, so World Constraint
will always stay at position 0, 0, 0.Container
uses Reset Target
as a source, which is used to bring Container
to your avatar.https://github.com/VRLabs/World-Constraint/assets/76777936/464287a8-c43c-4cf0-bc6b-5ec700a3eb9b
World Constraint
prefab into the base of your Hierarchy.Reset Target
Reset Target
outside of World 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
World Constraint
-> Container
.
Container
.Container
parent constraint component to leave it in world space, and enable it to reset the Container
to Reset Target
.Container
object, set your avatar as the source, and activate it.Constraints: 3
Constraint Depth: 3
World Constraint
|-Container
| |-Cube
|-Reset Target
World Constraint is available as-is under MIT. For more information see LICENSE.
dev.vrlabs.world-constraint
未設定
1.2.5
2022.3 以降
なし
なし