No description
Find a file
JelleJurre e658df9de4
Merge pull request #13 from VRLabs/feat/update-pipeline
Add better release woorkflow
2024-12-04 21:41:19 +01:00
.github/workflows Add better release woorkflow 2024-11-15 15:05:46 +01:00
Instancer Add 2019 support for vcc 2024-03-06 11:41:15 +01:00
Media Loop webp 2024-02-19 18:02:57 +01:00
.gitignore Update .gitignore 2022-06-29 23:44:15 -04:00
Instancer.meta Add Instancer 2023-12-16 11:51:35 +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:51:34 -04:00
Media.meta Add setup video 2023-09-24 02:31:28 +02:00
package.json Update package json 2024-08-23 19:01:13 +02:00
package.json.meta Added package.json and workflows 2023-12-15 18:22:24 +01:00
README.md Update README 2024-08-21 18:51:21 +02:00
README.md.meta re-include unreferenced asset meta files 2022-06-29 23:51:34 -04:00
Spring Constraint.prefab Automatic VRC Constraint Conversion 2024-08-10 14:02:31 +02:00
Spring Constraint.prefab.meta Initial commit 2021-12-22 06:04:02 -05:00

Spring Constraint

Generic badge Generic badge Generic badge Generic badge Generic badge

Generic badge Generic badge

A constraint system with spring behavior

SpringConstraint

⬇️ Download Latest Version

📦 Add to VRChat Creator Companion


How it works

  • The constraint is weighted between 3 sources to achieve a spring-like effect.

Install Guide

https://github.com/VRLabs/Spring-Constraint/assets/76777936/6a5056c7-9f47-4caf-bef0-8eae04f84613

  • Drag & drop the Spring 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 Spring Target
  • Move Spring Target outside of Spring 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 your objects inside Spring Constraints -> Container.
    • Alternatively you can constrain the objects to Container.
  • To change the characteristics of the spring, change the position constraint values on the Motion object:
    • Sources > Spring Target (default 1.1) controls the strength of the spring. Higher values make it harder to stretch the spring. Min: 1, Max: 2
    • Sources > Motion (default 4) dampens acceleration, the higher the value the slower Container accelerates.

Performance stats

Constraints:        2
Constraint Depth:   2

Hierarchy layout

Spring Constraint
|-Container
|  |-Cube
|-Motion
|-Spring Target

Contributors

License

Spring Constraint is available as-is under MIT. For more information see LICENSE.