Guides:World constraint: Difference between revisions
From VRChat Wiki
jetdog8808 (talk | contribs) (banner/category added) |
m (Usr 8ee44c1a-f905-4e08-bb61-e1cd34e09fc0 moved page Community:World constraint to Guides:World constraint: Moved to new Guides: namespace.) |
Latest revision as of 23:50, 5 December 2024
The following was created by the community. It may contain material not directly endorsed by the VRChat team. To learn more, consider reading Contributing to the VRChat Wiki.
World constraints allow for constraints to follow a specific point in world space. Mainly used on Avatars to lock a object to the world and not follow the avatar. This works by referencing a prefab in your assets instead of a Gameobject in the hierarchy.
Before VRC Constrains were added with the "Freeze To World" option this was the method used to freeze things to the world.
Setup
To setup you need a prefab in your assets you can reference. Its suggested the prefab to be a empty Gameobject, don't need anything else on it. Then drag and drop the prefab from your assets to one of your constraints sources.
The prefabs transform can be changed and the constraint will follow what ever its set too.