Guides:Constraint dampening: Difference between revisions
From VRChat Wiki
jetdog8808 (talk | contribs) m (category and notice box added.) |
m (Usr 8ee44c1a-f905-4e08-bb61-e1cd34e09fc0 moved page Community:Constraint dampening to Guides:Constraint dampening: Moved to new Guides: namespace.) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Noticebox/Community}} | |||
Constraint dampening or self referencing constraints, is a way to gradually have a constraint follow a source transform instead of snapping to it. This is mainly used on avatars, but can be used in worlds as well. Main constraint types used are Parent, Position, Rotation, and Scale constraints. | Constraint dampening or self referencing constraints, is a way to gradually have a constraint follow a source transform instead of snapping to it. This is mainly used on avatars, but can be used in worlds as well. Main constraint types used are Parent, Position, Rotation, and Scale constraints.[[File:Constraint_dampening_example.gif|border]] | ||
== Setup == | == Setup == | ||
[[File:Constraint dampening editor.webp|thumb|Editor setup example]] | [[File:Constraint dampening editor.webp|thumb|Editor setup example]] | ||
To setup add the Gameobject that the constraint is on to one of the sources for your constraint, and have its weight set to 1. The other sources will be what you want the constraint to move towards. You can adjust the speed of the constraint by changing the weight of the other sources. Higher values is faster, and lower values is slower. | To setup add the Gameobject that the constraint is on to one of the sources for your constraint, and have its weight set to 1. The other sources will be what you want the constraint to move towards. You can adjust the speed of the constraint by changing the weight of the other sources. Higher values is faster, and lower values is slower. | ||
[[Category:Guides]] |
Latest revision as of 23:41, 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.
Constraint dampening or self referencing constraints, is a way to gradually have a constraint follow a source transform instead of snapping to it. This is mainly used on avatars, but can be used in worlds as well. Main constraint types used are Parent, Position, Rotation, and Scale constraints.
Setup
To setup add the Gameobject that the constraint is on to one of the sources for your constraint, and have its weight set to 1. The other sources will be what you want the constraint to move towards. You can adjust the speed of the constraint by changing the weight of the other sources. Higher values is faster, and lower values is slower.