Guides:Constraint dampening: Difference between revisions

From VRChat Wiki
DAG-XR (talk | contribs)
m Fixed formatt
DAG-XR (talk | contribs)
mNo edit summary
Line 8: Line 8:


==Official resources==
==Official resources==
* [https://docs.unity3d.com/Packages/com.unity.animation.rigging@1.3/manual/constraints/DampedTransform.html|'Damped Transform | Animation Rigging'] on ''docs.unity3d.com''
* [https://docs.unity3d.com/Packages/com.unity.animation.rigging@1.3/manual/constraints/DampedTransform.html| 'Damped Transform | Animation Rigging'] on ''docs.unity3d.com''


[[Category:Guides]]
[[Category:Guides]]

Revision as of 01:53, 11 March 2025

V · ECommunity-written content
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.
V · EThis page is a stub.
You can help the VRChat Wiki by improving it.
[Reason: Not much information here! You can contribute by expanding, and proofreading this article, in accordance with the Manual of Style.]

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

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.

Official resources