No description
Find a file
JelleJurre cd2817ba99
Merge pull request #12 from VRLabs/feat/update-pipeline
Add better release woorkflow
2024-12-04 21:41:07 +01:00
.github/workflows Add better release woorkflow 2024-11-15 15:05:51 +01:00
Instancer Add 2019 support for vcc 2024-03-06 11:41:17 +01:00
Media Loop webp 2024-02-19 18:03:01 +01:00
.gitignore Update .gitignore 2022-06-29 23:45:09 -04:00
Instancer.meta Add Instancer Support 2023-12-15 20:20:52 +01:00
LICENSE Rename name in license 2023-11-27 12:43:03 +01:00
LICENSE.meta re-include unreferenced asset meta files 2022-06-29 23:53:28 -04:00
Media.meta Add setup video 2023-09-24 02:18:23 +02:00
package.json Update package json 2024-08-23 19:00:46 +02:00
package.json.meta Add Package Json Meta 2023-12-15 20:20:21 +01:00
Position Damping Constraint.prefab Automatic VRC Constraint Conversion 2024-08-10 14:02:30 +02:00
Position Damping Constraint.prefab.meta Initial commit 2021-12-22 05:07:17 -05:00
README.md Update README 2024-08-21 18:45:26 +02:00
README.md.meta re-include unreferenced asset meta files 2022-06-29 23:53:28 -04:00
Rotation Damping Constraint.prefab Automatic VRC Constraint Conversion 2024-08-10 14:02:30 +02:00
Rotation Damping Constraint.prefab.meta Initial commit 2021-12-22 05:07:17 -05:00

Damping Constraints

Generic badge Generic badge Generic badge Generic badge Generic badge

Generic badge Generic badge

Constraints with adjustable damping effects

DampingConstraint

⬇️ Download Latest Version

📦 Add to VRChat Creator Companion


How it works

  • The constraint targets itself at full weight and another source at a weight lower than one.
  • This causes a feedback loop where every frame the constraint moves a relative distance towards the target, creating a damping effect.

Install guide

https://github.com/VRLabs/Damping-Constraints/assets/76777936/98ad4d8a-1e70-4c49-bccc-69b6fc566bf4

Position Damping Constraint

  • Drag & Drop the Position Damping Constraint prefab into the base of your Hierarchy.
  • Right click and unpack the prefab, then drag & drop it onto your avatar.
  • Expand the prefab hierarchy and find Position Target.
  • Move Position Target outside of Position Damping Constraint and place it anywhere in your avatars hierarchy as needed.

Rotation Damping Constraint

  • Drag & Drop the Rotation Damping Constraint prefab into the base of your Hierarchy.
  • Right click and unpack the prefab, then drag & drop it onto your avatar.
  • Expand the prefab hierarchy and find Rotation Target.
  • Move Rotation Target outside of Rotation Damping 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

How to use

  • Place the objects you want to dampen inside Container.
    • Alternatively you can constrain the objects to Container.
  • Changing the weight of the second source in the constraint will change the strength of the damping effect.

Performance stats

Constraints:        1
Constraint Depth:   1

Hierarchy layout

Position Damping Constraint:

Position Damping Constraint
|-Container
|  |-Cube
|-Position Target

Rotation Damping Constraint:

Rotation Damping Constraint
|-Container
|  |-Cube
|-Rotation Target

Contributors

License

Damping Constraints is available as-is under MIT. For more information see LICENSE.