Skip to content

Commit e94e75a

Browse files
Andrew Kimfacebook-github-bot
authored andcommitted
feat(Samples): Update BlendshapeMapping character constraints
Summary: Update the blendshape mapping character's constraints so that the neck and head looks better. Reviewed By: sohailshafiiWk Differential Revision: D46604133 fbshipit-source-id: 0c9f4afedc159843f955bbce8ef36bb22069c47e
1 parent c1cca0f commit e94e75a

File tree

3 files changed

+21
-41
lines changed

3 files changed

+21
-41
lines changed

Samples/Prefabs/BlendshapeMappingExample/BlendshapeMappingExampleARKIT.prefab

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,19 @@ PrefabInstance:
105105
objectReference: {fileID: 0}
106106
- target: {fileID: -3353626421446678658, guid: aff2ae892ac69124eb8000bd96c5a64e, type: 3}
107107
propertyPath: m_AABB.m_Extent.x
108-
value: 0.08340822
108+
value: 0.1
109109
objectReference: {fileID: 0}
110110
- target: {fileID: -3353626421446678658, guid: aff2ae892ac69124eb8000bd96c5a64e, type: 3}
111111
propertyPath: m_AABB.m_Extent.y
112-
value: 0.07275189
112+
value: 0.1
113113
objectReference: {fileID: 0}
114114
- target: {fileID: -3353626421446678658, guid: aff2ae892ac69124eb8000bd96c5a64e, type: 3}
115115
propertyPath: m_AABB.m_Extent.z
116-
value: 0.08840925
116+
value: 0.1
117+
objectReference: {fileID: 0}
118+
- target: {fileID: -3353626421446678658, guid: aff2ae892ac69124eb8000bd96c5a64e, type: 3}
119+
propertyPath: m_UpdateWhenOffscreen
120+
value: 1
117121
objectReference: {fileID: 0}
118122
- target: {fileID: -3353626421446678658, guid: aff2ae892ac69124eb8000bd96c5a64e, type: 3}
119123
propertyPath: m_Materials.Array.data[0]
@@ -155,6 +159,10 @@ PrefabInstance:
155159
propertyPath: m_ReceiveShadows
156160
value: 1
157161
objectReference: {fileID: 0}
162+
- target: {fileID: 118783903618561573, guid: aff2ae892ac69124eb8000bd96c5a64e, type: 3}
163+
propertyPath: m_UpdateWhenOffscreen
164+
value: 1
165+
objectReference: {fileID: 0}
158166
- target: {fileID: 118783903618561573, guid: aff2ae892ac69124eb8000bd96c5a64e, type: 3}
159167
propertyPath: m_Materials.Array.data[0]
160168
value:
@@ -165,15 +173,19 @@ PrefabInstance:
165173
objectReference: {fileID: 0}
166174
- target: {fileID: 119842317167379012, guid: aff2ae892ac69124eb8000bd96c5a64e, type: 3}
167175
propertyPath: m_AABB.m_Extent.x
168-
value: 0.07926141
176+
value: 0.1
169177
objectReference: {fileID: 0}
170178
- target: {fileID: 119842317167379012, guid: aff2ae892ac69124eb8000bd96c5a64e, type: 3}
171179
propertyPath: m_AABB.m_Extent.y
172-
value: 0.07081104
180+
value: 0.1
173181
objectReference: {fileID: 0}
174182
- target: {fileID: 119842317167379012, guid: aff2ae892ac69124eb8000bd96c5a64e, type: 3}
175183
propertyPath: m_AABB.m_Extent.z
176-
value: 0.08431437
184+
value: 0.1
185+
objectReference: {fileID: 0}
186+
- target: {fileID: 119842317167379012, guid: aff2ae892ac69124eb8000bd96c5a64e, type: 3}
187+
propertyPath: m_UpdateWhenOffscreen
188+
value: 1
177189
objectReference: {fileID: 0}
178190
- target: {fileID: 119842317167379012, guid: aff2ae892ac69124eb8000bd96c5a64e, type: 3}
179191
propertyPath: m_Materials.Array.data[0]

Samples/Prefabs/BlendshapeMappingExample/BlendshapeMappingExampleARKITFirstPerson.prefab

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ MonoBehaviour:
315315
m_Item7:
316316
transform: {fileID: 0}
317317
weight: 0
318-
m_Offset: {x: 0, y: -0.025, z: 0}
318+
m_Offset: {x: 0, y: -0.03, z: 0}
319319
m_ConstrainedAxes:
320320
x: 1
321321
y: 1
@@ -473,12 +473,12 @@ MonoBehaviour:
473473
m_Item7:
474474
transform: {fileID: 0}
475475
weight: 0
476-
m_Offset: {x: 180, y: 0, z: 0}
476+
m_Offset: {x: 0, y: 0, z: 0}
477477
m_ConstrainedAxes:
478478
x: 1
479479
y: 1
480480
z: 1
481-
m_MaintainOffset: 1
481+
m_MaintainOffset: 0
482482
--- !u!1 &9148251754398140426
483483
GameObject:
484484
m_ObjectHideFlags: 0

Samples/Scenes/MovementBlendshapeMappingExample.unity

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,10 +1345,6 @@ PrefabInstance:
13451345
propertyPath: m_Name
13461346
value: BlendshapeMappingExampleARKITFirstPerson
13471347
objectReference: {fileID: 0}
1348-
- target: {fileID: 1123534316221971162, guid: 4f6634390b1d87c488b90ffe9aa5d702, type: 3}
1349-
propertyPath: m_Weight
1350-
value: 0
1351-
objectReference: {fileID: 0}
13521348
- target: {fileID: 1999650790780052334, guid: 4f6634390b1d87c488b90ffe9aa5d702, type: 3}
13531349
propertyPath: m_Data._twistNodes.m_Item0.weight
13541350
value: 0.25
@@ -1369,10 +1365,6 @@ PrefabInstance:
13691365
propertyPath: m_Data._twistNodes.m_Item1.weight
13701366
value: 0.5
13711367
objectReference: {fileID: 0}
1372-
- target: {fileID: 4031897247645224307, guid: 4f6634390b1d87c488b90ffe9aa5d702, type: 3}
1373-
propertyPath: m_Weight
1374-
value: 0
1375-
objectReference: {fileID: 0}
13761368
- target: {fileID: 5690063220709021688, guid: 4f6634390b1d87c488b90ffe9aa5d702, type: 3}
13771369
propertyPath: m_Enabled
13781370
value: 0
@@ -1389,30 +1381,6 @@ PrefabInstance:
13891381
propertyPath: m_LocalEulerAnglesHint.z
13901382
value: 7.038
13911383
objectReference: {fileID: 0}
1392-
- target: {fileID: 6614716284635253014, guid: 4f6634390b1d87c488b90ffe9aa5d702, type: 3}
1393-
propertyPath: m_Weight
1394-
value: 1
1395-
objectReference: {fileID: 0}
1396-
- target: {fileID: 6614716284635253014, guid: 4f6634390b1d87c488b90ffe9aa5d702, type: 3}
1397-
propertyPath: m_Data.m_Offset.x
1398-
value: 0
1399-
objectReference: {fileID: 0}
1400-
- target: {fileID: 6614716284635253014, guid: 4f6634390b1d87c488b90ffe9aa5d702, type: 3}
1401-
propertyPath: m_Data.m_Offset.y
1402-
value: 0
1403-
objectReference: {fileID: 0}
1404-
- target: {fileID: 6614716284635253014, guid: 4f6634390b1d87c488b90ffe9aa5d702, type: 3}
1405-
propertyPath: m_Data.m_Offset.z
1406-
value: 0
1407-
objectReference: {fileID: 0}
1408-
- target: {fileID: 6614716284635253014, guid: 4f6634390b1d87c488b90ffe9aa5d702, type: 3}
1409-
propertyPath: m_Data.m_MaintainOffset
1410-
value: 0
1411-
objectReference: {fileID: 0}
1412-
- target: {fileID: 6614716284635253014, guid: 4f6634390b1d87c488b90ffe9aa5d702, type: 3}
1413-
propertyPath: m_Data.m_SourceObjects.m_Item0.weight
1414-
value: 1
1415-
objectReference: {fileID: 0}
14161384
- target: {fileID: 7119428898995491169, guid: 4f6634390b1d87c488b90ffe9aa5d702, type: 3}
14171385
propertyPath: m_Enabled
14181386
value: 0

0 commit comments

Comments
 (0)