Skip to content

Commit

Permalink
Fix hand angle
Browse files Browse the repository at this point in the history
  • Loading branch information
Guerra24 committed Jun 19, 2024
1 parent 92171a5 commit f39eac8
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 68 deletions.
58 changes: 29 additions & 29 deletions Assets/Scenes/Main.unity
Original file line number Diff line number Diff line change
Expand Up @@ -702,13 +702,13 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 147298075}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: -0.53729963, w: 0.8433914}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.266, y: 0.622, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: -65}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &200403184
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -1397,22 +1397,22 @@ PrefabInstance:
- target: {fileID: 70972866194739485, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_AnchorMax.x
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 70972866194739485, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_SizeDelta.x
value: -9
value: 0
objectReference: {fileID: 0}
- target: {fileID: 70972866194739485, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_LocalPosition.x
value: -250
value: 0
objectReference: {fileID: 0}
- target: {fileID: 70972866194739485, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_LocalPosition.y
value: -304
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3183264326573952452, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
Expand Down Expand Up @@ -1582,32 +1582,32 @@ PrefabInstance:
- target: {fileID: 4914328431171304639, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_AnchorMax.x
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4914328431171304639, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4914328431171304639, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_SizeDelta.x
value: -9
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4914328431171304639, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_SizeDelta.y
value: -17
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4914328431171304639, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_LocalPosition.x
value: -250
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4914328431171304639, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_LocalPosition.y
value: 304
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6974992526447935581, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
Expand All @@ -1622,17 +1622,17 @@ PrefabInstance:
- target: {fileID: 7071451658218752593, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7071451658218752593, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_SizeDelta.y
value: -17
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7071451658218752593, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_LocalPosition.y
value: 304
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8211928304835922972, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
Expand Down Expand Up @@ -5876,17 +5876,17 @@ PrefabInstance:
- target: {fileID: 70972866194739485, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_AnchorMax.x
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 70972866194739485, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_SizeDelta.x
value: -9
value: 0
objectReference: {fileID: 0}
- target: {fileID: 70972866194739485, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_LocalPosition.y
value: -304
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3183264326573952452, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
Expand Down Expand Up @@ -6056,27 +6056,27 @@ PrefabInstance:
- target: {fileID: 4914328431171304639, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_AnchorMax.x
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4914328431171304639, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4914328431171304639, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_SizeDelta.x
value: -9
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4914328431171304639, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_SizeDelta.y
value: -17
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4914328431171304639, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_LocalPosition.y
value: 304
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6974992526447935581, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
Expand All @@ -6091,22 +6091,22 @@ PrefabInstance:
- target: {fileID: 7071451658218752593, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7071451658218752593, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_SizeDelta.y
value: -17
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7071451658218752593, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_LocalPosition.x
value: 250
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7071451658218752593, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
propertyPath: m_LocalPosition.y
value: 304
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8211928304835922972, guid: d2bf08666f6585c4fb2de39208019ae2,
type: 3}
Expand Down Expand Up @@ -10363,13 +10363,13 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1662831905}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0.53729963, w: 0.8433915}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.266, y: 0.622, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 65}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1667170598
GameObject:
m_ObjectHideFlags: 0
Expand Down
2 changes: 2 additions & 0 deletions Assets/Scripts/AvatarLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ private void OnFirstFrame()
}
ApplicationPersistence.Save();
Driver.InitExpressionMap();
LeftWristTarget.rotation = Quaternion.Euler(0, 0, 65);
RightWristTarget.rotation = Quaternion.Euler(0, 0, -65);
}

public void BuildAnimationMapping(GameObject avatar)
Expand Down
31 changes: 4 additions & 27 deletions Assets/UI/Menu/Settings/TrackingPage.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ PrefabInstance:
- target: {fileID: 4213744415970196551, guid: 140fb93c0f759954ab4f2469c05eec41,
type: 3}
propertyPath: m_Size
value: 0.8653001
value: 0.7101025
objectReference: {fileID: 0}
- target: {fileID: 4213744415970196551, guid: 140fb93c0f759954ab4f2469c05eec41,
type: 3}
Expand Down Expand Up @@ -2846,19 +2846,15 @@ PrefabInstance:
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 7198157510826461519, guid: c6864c8a1c4511d4ebe8c473c2a49164,
type: 3}
insertIndex: -1
addedObject: {fileID: 6989486517732340840}
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c6864c8a1c4511d4ebe8c473c2a49164, type: 3}
--- !u!114 &1162285540573042441 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 2803371909357211346, guid: c6864c8a1c4511d4ebe8c473c2a49164,
type: 3}
m_PrefabInstance: {fileID: 3947078984640387547}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6134511215624933524}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7b743370ac3e4ec2a1668f5455a8ef8a, type: 3}
Expand All @@ -2870,25 +2866,6 @@ RectTransform:
type: 3}
m_PrefabInstance: {fileID: 3947078984640387547}
m_PrefabAsset: {fileID: 0}
--- !u!1 &6134511215624933524 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 7198157510826461519, guid: c6864c8a1c4511d4ebe8c473c2a49164,
type: 3}
m_PrefabInstance: {fileID: 3947078984640387547}
m_PrefabAsset: {fileID: 0}
--- !u!114 &6989486517732340840
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6134511215624933524}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3499ee317da2e4244a890d95b059143a, type: 3}
m_Name:
m_EditorClassIdentifier:
Platforms: 0700000002000000
--- !u!1001 &4159791408305111947
PrefabInstance:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -4435,7 +4412,7 @@ PrefabInstance:
- target: {fileID: 5917283288401401515, guid: adf8ad31abbd8d742834c7a426520334,
type: 3}
propertyPath: m_AnchoredPosition.x
value: -17.24942
value: -17.445892
objectReference: {fileID: 0}
- target: {fileID: 6332600843900379313, guid: adf8ad31abbd8d742834c7a426520334,
type: 3}
Expand Down
6 changes: 3 additions & 3 deletions Packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"com.unity.test-framework": "1.4.4",
"com.unity.timeline": "1.8.7",
"com.unity.ugui": "2.0.0",
"com.vrmc.gltf": "https://github.com/vrm-c/UniVRM.git?path=/Assets/UniGLTF#v0.122.0",
"com.vrmc.univrm": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRM#v0.122.0",
"com.vrmc.vrmshaders": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRMShaders#v0.122.0",
"com.vrmc.gltf": "https://github.com/vrm-c/UniVRM.git?path=/Assets/UniGLTF#v0.123.0",
"com.vrmc.univrm": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRM#v0.123.0",
"com.vrmc.vrmshaders": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRMShaders#v0.123.0",
"jp.keijiro.klak.spout": "2.0.3",
"com.unity.modules.accessibility": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
Expand Down
18 changes: 9 additions & 9 deletions Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,34 +190,34 @@
}
},
"com.vrmc.gltf": {
"version": "https://github.com/vrm-c/UniVRM.git?path=/Assets/UniGLTF#v0.122.0",
"version": "https://github.com/vrm-c/UniVRM.git?path=/Assets/UniGLTF#v0.123.0",
"depth": 0,
"source": "git",
"dependencies": {
"com.vrmc.vrmshaders": "0.122.0",
"com.vrmc.vrmshaders": "0.123.0",
"com.unity.modules.animation": "1.0.0"
},
"hash": "326bab7fe44856f3a9b8008bbcd561cc9778e0a4"
"hash": "3104b4c75511032765a21ca4365e2d3fe78030fc"
},
"com.vrmc.univrm": {
"version": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRM#v0.122.0",
"version": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRM#v0.123.0",
"depth": 0,
"source": "git",
"dependencies": {
"com.vrmc.vrmshaders": "0.122.0",
"com.vrmc.gltf": "0.122.0",
"com.vrmc.vrmshaders": "0.123.0",
"com.vrmc.gltf": "0.123.0",
"com.unity.ugui": "1.0.0"
},
"hash": "326bab7fe44856f3a9b8008bbcd561cc9778e0a4"
"hash": "3104b4c75511032765a21ca4365e2d3fe78030fc"
},
"com.vrmc.vrmshaders": {
"version": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRMShaders#v0.122.0",
"version": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRMShaders#v0.123.0",
"depth": 0,
"source": "git",
"dependencies": {
"com.unity.modules.imageconversion": "1.0.0"
},
"hash": "326bab7fe44856f3a9b8008bbcd561cc9778e0a4"
"hash": "3104b4c75511032765a21ca4365e2d3fe78030fc"
},
"jp.keijiro.klak.spout": {
"version": "2.0.3",
Expand Down

0 comments on commit f39eac8

Please sign in to comment.