Skip to content

Commit

Permalink
v3.2/v4.0
Browse files Browse the repository at this point in the history
v4.0 that only calibrates if the station and player are in view.
  • Loading branch information
Superbstingray committed Mar 26, 2023
1 parent ccb410a commit 0a87816
Show file tree
Hide file tree
Showing 12 changed files with 2,097 additions and 159 deletions.
6 changes: 4 additions & 2 deletions UdonCalibratingChairs/Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ UdonCalibratingChairs

https://github.com/Superbstingray/UdonCalibratingChairs

V3.1 - 3/08/21 - Made in UdonGraph SDK3-2021.07.13.13.39
v3.2 / v4.0 - 3/08/23 - Made with UdonGraph: VRChat SDK - Worlds 3.1.11

Chairs that adjust their enter point to align avatars to a better sitting position. Includes a fix for VR users entering rotated stations.
Chairs that adjust their enter point to align avatars to a better sitting position. Includes a fix for VR users entering rotated stations and proximity functions so they are less likely to be used accidentally.

Sets the station seated position offset based on the position of the avatars knee.

Makes local and remote users check the users avatar knee position and sets the seated position offset to correct the players knee location to the defined Knee Target Position.

v4.0 - Only interactable while within the trigger distance of the collider and only calibrates when a user is looking at the station.

(Usage)

Place prefab in scene and adjust position of chair to a location where you want there to be a seat.
Expand Down
8 changes: 8 additions & 0 deletions UdonCalibratingChairs/Scripts.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions UdonCalibratingChairs/Scripts/UCC3.2.asset.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,210 changes: 1,210 additions & 0 deletions UdonCalibratingChairs/Scripts/UCC4.0.asset

Large diffs are not rendered by default.

File renamed without changes.
303 changes: 303 additions & 0 deletions UdonCalibratingChairs/Scripts/UCCProximity.asset

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions UdonCalibratingChairs/Scripts/UCCProximity.asset.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0a87816

Please sign in to comment.