-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e1cb18b
commit 7d4ec0f
Showing
12 changed files
with
1,149 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Created by Superbstingray | ||
|
||
UdonCalibratingChairs | ||
V1.62 - 3/08/21 - Made in UdonGraph SDK3-2021.07.13.13.39 | ||
|
||
Chairs that adjust their enter point to align avatars to a better sitting position. Includes a fix for VR users entering rotated stations. | ||
|
||
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. | ||
|
||
(Usage) | ||
|
||
Place prefab in scene and adjust position of chair to a location where you want there to be a seat. | ||
|
||
Adjust the Knee Target GameObject to set where the player will be positioned. Ideally you should position this at the edge of chairs where you would expect the avatars knee to be. | ||
|
||
Can align with chair models in your scene and then remove or disable the chair model in the prefab. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!1102 &-1561990928425173071 | ||
AnimatorState: | ||
serializedVersion: 5 | ||
m_ObjectHideFlags: 1 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_Name: spinlinder | ||
m_Speed: 1 | ||
m_CycleOffset: 0 | ||
m_Transitions: [] | ||
m_StateMachineBehaviours: [] | ||
m_Position: {x: 50, y: 50, z: 0} | ||
m_IKOnFeet: 0 | ||
m_WriteDefaultValues: 1 | ||
m_Mirror: 0 | ||
m_SpeedParameterActive: 0 | ||
m_MirrorParameterActive: 0 | ||
m_CycleOffsetParameterActive: 0 | ||
m_TimeParameterActive: 0 | ||
m_Motion: {fileID: 7400000, guid: 0fd5ee7e7d8ca0e468ad01285c1ff6f0, type: 2} | ||
m_Tag: | ||
m_SpeedParameter: | ||
m_MirrorParameter: | ||
m_CycleOffsetParameter: | ||
m_TimeParameter: | ||
--- !u!91 &9100000 | ||
AnimatorController: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_Name: Spinlinder | ||
serializedVersion: 5 | ||
m_AnimatorParameters: [] | ||
m_AnimatorLayers: | ||
- serializedVersion: 5 | ||
m_Name: Base Layer | ||
m_StateMachine: {fileID: 6174497160424448121} | ||
m_Mask: {fileID: 0} | ||
m_Motions: [] | ||
m_Behaviours: [] | ||
m_BlendingMode: 0 | ||
m_SyncedLayerIndex: -1 | ||
m_DefaultWeight: 0 | ||
m_IKPass: 0 | ||
m_SyncedLayerAffectsTiming: 0 | ||
m_Controller: {fileID: 9100000} | ||
--- !u!1107 &6174497160424448121 | ||
AnimatorStateMachine: | ||
serializedVersion: 5 | ||
m_ObjectHideFlags: 1 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_Name: Base Layer | ||
m_ChildStates: | ||
- serializedVersion: 1 | ||
m_State: {fileID: -1561990928425173071} | ||
m_Position: {x: 200, y: 0, z: 0} | ||
m_ChildStateMachines: [] | ||
m_AnyStateTransitions: [] | ||
m_EntryTransitions: [] | ||
m_StateMachineTransitions: {} | ||
m_StateMachineBehaviours: [] | ||
m_AnyStatePosition: {x: 50, y: 20, z: 0} | ||
m_EntryPosition: {x: 50, y: 120, z: 0} | ||
m_ExitPosition: {x: 800, y: 120, z: 0} | ||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} | ||
m_DefaultState: {fileID: -1561990928425173071} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.