Skip to content

Commit

Permalink
Merge pull request #11 from VRLabs/feature/vrc-constraint-support
Browse files Browse the repository at this point in the history
Feature/vrc constraint support
  • Loading branch information
jellejurre authored Sep 1, 2024
2 parents 394ae84 + 6235ad5 commit 32acb26
Show file tree
Hide file tree
Showing 3 changed files with 262 additions and 45 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

[![Generic badge](https://img.shields.io/github/downloads/VRLabs/Spring-Constraint/total?label=Downloads)](https://github.com/VRLabs/Spring-Constraint/releases/latest)
[![Generic badge](https://img.shields.io/badge/License-MIT-informational.svg)](https://github.com/VRLabs/Spring-Constraint/blob/main/LICENSE)
[![Generic badge](https://img.shields.io/badge/Unity-2019.4.31f1-lightblue.svg)](https://unity3d.com/unity/whats-new/2019.4.31)
[![Generic badge](https://img.shields.io/badge/Quest-Compatible-green?logo=Meta)](https://img.shields.io/badge/Quest-Compatible-green?logo=Meta)
[![Generic badge](https://img.shields.io/badge/Unity-2022.3.22f1-lightblue?logo=Unity)](https://unity.com/releases/editor/whats-new/2022.3.22)
[![Generic badge](https://img.shields.io/badge/SDK-AvatarSDK3-lightblue.svg)](https://vrchat.com/home/download)

[![Generic badge](https://img.shields.io/discord/706913824607043605?color=%237289da&label=DISCORD&logo=Discord&style=for-the-badge)](https://discord.vrlabs.dev/)
Expand All @@ -16,7 +17,6 @@ A constraint system with spring behavior

### ⬇️ [Download Latest Version](https://github.com/VRLabs/Spring-Constraint/releases/latest)


### 📦 [Add to VRChat Creator Companion](https://vrlabs.dev/packages?package=dev.vrlabs.spring-constraint)

</div>
Expand All @@ -36,6 +36,9 @@ https://github.com/VRLabs/Spring-Constraint/assets/76777936/6a5056c7-9f47-4caf-b
* 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``.
Expand All @@ -48,6 +51,7 @@ https://github.com/VRLabs/Spring-Constraint/assets/76777936/6a5056c7-9f47-4caf-b

```c++
Constraints: 2
Constraint Depth: 2
```

## Hierarchy layout
Expand Down Expand Up @@ -82,4 +86,3 @@ Spring Constraint is available as-is under MIT. For more information see [LICENS
[<img src="https://github.com/VRLabs/Resources/raw/main/Icons/Twitter.png" width="50" height="50">](https://twitter.com/vrlabsdev "VRLabs")

</div>

Loading

0 comments on commit 32acb26

Please sign in to comment.