No description
Find a file
2024-12-04 21:39:45 +01:00
.github/workflows Add better release woorkflow 2024-11-15 15:06:16 +01:00
Instancer Add 2019 support for vcc 2024-03-06 11:41:27 +01:00
Media Remove old preview media 2024-02-26 21:26:03 +01:00
Resources Convert to VRC Constraints 2024-08-21 19:21:46 +02:00
.gitignore Updated gitignore 2023-09-11 20:05:08 +02:00
Instancer.meta Add Instancer 2023-12-15 20:47:05 +01:00
LICENSE Rename name in license 2023-11-27 12:43:03 +01:00
LICENSE.meta initial asset commit 2022-07-27 17:59:19 -04:00
Media.meta add media 2022-07-27 20:19:15 -04:00
Offset Constraint FX.controller Convert to VRC Constraints 2024-08-21 19:21:46 +02:00
Offset Constraint FX.controller.meta Initial cleanup 2023-08-09 17:41:17 +02:00
Offset Constraint.prefab Convert to VRC Constraints 2024-08-21 19:21:46 +02:00
Offset Constraint.prefab.meta initial asset commit 2022-07-27 17:59:19 -04:00
package.json Update package json 2024-08-23 19:00:54 +02:00
package.json.meta initial asset commit 2022-07-27 17:59:19 -04:00
README.md Update README 2024-08-21 19:23:39 +02:00
README.md.meta initial asset commit 2022-07-27 17:59:19 -04:00
Resources.meta initial asset commit 2022-07-27 17:59:19 -04:00

Offset Constraint

Generic badge Generic badge Generic badge Generic badge Generic badge

Generic badge Generic badge

A constraint system to preserve offsets

OffsetConstraint

⬇️ Download Latest Version

📦 Add to VRChat Creator Companion


How it works

  • Constraints reference each other as sources and swap their enabled state to preserve offset transforms.

Install guide

https://github.com/VRLabs/Offset-Constraint/assets/76777936/f20790ad-0a5e-49ee-aaac-3b2e380f5f93

  • Merge the Animator Controller Offset Constraint FX to your own FX Controller, using the Avatars 3.0 Manager tool.
  • Drag & drop the Offset 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 Offset Target
  • Move Offset Target outside of Offset 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 to use inside Offset Constraint -> Container.
    • Alternatively you can constrain the objects to Container.

There are two bools in your FX Controller:

  • OffsetConstraint/Control:
    • True: Places the Container in world space and allows the user to set the specified offset.
    • False: Constraints the Container to the Offset Target with the specified offset.
  • OffsetConstraint/Reset moves the Container to the Offset Target.

Performance stats

Constraints:        2
FX Animator Layers: 1

Hierarchy layout

Offset Constraint
|-Container
|  |-Cube
|-Root
|  |-End
|-Offset Target

Contributors

License

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