minor PhysicsSample fixes
This commit is contained in:
Родитель
9fbd22e039
Коммит
a2bb3ea4e8
|
@ -38,7 +38,7 @@ RenderSettings:
|
|||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_IndirectSpecularColor: {r: 0.18028352, g: 0.22571376, b: 0.30692244, a: 1}
|
||||
m_IndirectSpecularColor: {r: 0.18028353, g: 0.22571383, b: 0.30692253, a: 1}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
|
@ -513,9 +513,8 @@ MonoBehaviour:
|
|||
m_GameObject: {fileID: 1627595938}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 785bfd4bd06f48c43a6944bbef2356b1, type: 3}
|
||||
m_Script: {fileID: 11500000, guid: ef895520aaf29426fa8555813c8412cd, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
rowTemplate: {fileID: 9197481963319205126, guid: 49aa4e12bb45cd148ad2463994726dc3,
|
||||
type: 3}
|
||||
Initialized: 0
|
||||
|
|
|
@ -38,7 +38,7 @@ RenderSettings:
|
|||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1}
|
||||
m_IndirectSpecularColor: {r: 0.18028353, g: 0.22571383, b: 0.30692253, a: 1}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
|
@ -300,7 +300,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Version: 2
|
||||
m_Version: 3
|
||||
m_UsePipelineSettings: 1
|
||||
m_AdditionalLightsShadowResolutionTier: 2
|
||||
m_LightLayerMask: 1
|
||||
|
@ -310,7 +310,7 @@ MonoBehaviour:
|
|||
m_ShadowRenderingLayers: 1
|
||||
m_LightCookieSize: {x: 1, y: 1}
|
||||
m_LightCookieOffset: {x: 0, y: 0}
|
||||
m_SoftShadowQuality: 1
|
||||
m_SoftShadowQuality: 2
|
||||
--- !u!1 &874799922 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 1357867726654781249, guid: c0ce7b3c74021e840a5995cf136ee0fe,
|
||||
|
@ -347,12 +347,20 @@ MonoBehaviour:
|
|||
m_Dithering: 0
|
||||
m_ClearDepth: 1
|
||||
m_AllowXRRendering: 1
|
||||
m_AllowHDROutput: 1
|
||||
m_UseScreenCoordOverride: 0
|
||||
m_ScreenSizeOverride: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_ScreenCoordScaleBias: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_RequiresDepthTexture: 0
|
||||
m_RequiresColorTexture: 0
|
||||
m_Version: 2
|
||||
m_TaaSettings:
|
||||
quality: 3
|
||||
frameInfluence: 0.1
|
||||
jitterScale: 1
|
||||
mipBias: 0
|
||||
varianceClampScale: 0.9
|
||||
contrastAdaptiveSharpening: 0
|
||||
--- !u!1 &1711564180
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -406,56 +414,3 @@ Transform:
|
|||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &2030351118
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2030351120}
|
||||
- component: {fileID: 2030351119}
|
||||
m_Layer: 0
|
||||
m_Name: FloorSubScene
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &2030351119
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2030351118}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 45a335734b1572644a6a5d09d87adc65, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
_SceneAsset: {fileID: 102900000, guid: 6dd1bb6104b7672489ecb3228bfbcb90, type: 3}
|
||||
_HierarchyColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
AutoLoadScene: 1
|
||||
_SceneGUID:
|
||||
Value:
|
||||
x: 381361622
|
||||
y: 1115061056
|
||||
z: 574344856
|
||||
w: 163364792
|
||||
--- !u!4 &2030351120
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2030351118}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1,7 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 5725067ced8384d3088a94201b204ad4
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -697,7 +697,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 1336750971}
|
||||
EnableCollision: 0
|
||||
RaiseImpulseEvents: 0
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: Infinity
|
||||
|
@ -1295,7 +1294,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 56193537}
|
||||
EnableCollision: 0
|
||||
RaiseImpulseEvents: 0
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: Infinity
|
||||
|
@ -2429,7 +2427,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 780814449}
|
||||
EnableCollision: 0
|
||||
RaiseImpulseEvents: 0
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: Infinity
|
||||
|
@ -3034,7 +3031,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 1110103479}
|
||||
EnableCollision: 0
|
||||
RaiseImpulseEvents: 0
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: Infinity
|
||||
|
@ -3625,7 +3621,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 2123973863}
|
||||
EnableCollision: 0
|
||||
RaiseImpulseEvents: 0
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: Infinity
|
||||
|
@ -3954,7 +3949,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 1000761868}
|
||||
EnableCollision: 0
|
||||
RaiseImpulseEvents: 0
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: Infinity
|
||||
|
@ -4371,7 +4365,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 629709944}
|
||||
EnableCollision: 0
|
||||
RaiseImpulseEvents: 0
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: Infinity
|
||||
|
@ -4960,7 +4953,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 487187772}
|
||||
EnableCollision: 1
|
||||
RaiseImpulseEvents: 0
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: Infinity
|
||||
|
@ -5290,7 +5282,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 1644420482}
|
||||
EnableCollision: 0
|
||||
RaiseImpulseEvents: 0
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: Infinity
|
||||
|
@ -6150,7 +6141,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 534096495}
|
||||
EnableCollision: 0
|
||||
RaiseImpulseEvents: 0
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: Infinity
|
||||
|
@ -6713,7 +6703,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 322180620}
|
||||
EnableCollision: 0
|
||||
RaiseImpulseEvents: 1
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: 0
|
||||
|
@ -6815,7 +6804,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 465190218}
|
||||
EnableCollision: 1
|
||||
RaiseImpulseEvents: 0
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: Infinity
|
||||
|
@ -7407,7 +7395,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 1188811466}
|
||||
EnableCollision: 0
|
||||
RaiseImpulseEvents: 0
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: Infinity
|
||||
|
@ -7821,7 +7808,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 0}
|
||||
EnableCollision: 0
|
||||
RaiseImpulseEvents: 0
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: Infinity
|
||||
|
@ -7853,60 +7839,6 @@ Transform:
|
|||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &2101594842
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2101594844}
|
||||
- component: {fileID: 2101594843}
|
||||
m_Layer: 0
|
||||
m_Name: Simulation Validation
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &2101594843
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2101594842}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ac6bdfff8f25443fa08ae31c4ce351fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
EnableValidation: 0
|
||||
ValidationTimeRange:
|
||||
x: 0.25
|
||||
y: 4
|
||||
ValidateJointBehavior: 1
|
||||
ValidateRigidBodiesAtRest: 0
|
||||
LinearVelocityErrorTolerance: 0.005
|
||||
AngularVelocityErrorTolerance: 0.01
|
||||
PositionErrorTolerance: 0.05
|
||||
OrientationErrorTolerance: 0.02
|
||||
--- !u!4 &2101594844
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2101594842}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 15
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &2118711692
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -7942,7 +7874,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 686085655}
|
||||
EnableCollision: 1
|
||||
RaiseImpulseEvents: 0
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: Infinity
|
||||
|
|
|
@ -1124,7 +1124,7 @@ Transform:
|
|||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 5
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &423069120
|
||||
GameObject:
|
||||
|
@ -2405,60 +2405,6 @@ Transform:
|
|||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 45, y: 0, z: 45}
|
||||
--- !u!1 &1611407114
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1611407116}
|
||||
- component: {fileID: 1611407115}
|
||||
m_Layer: 0
|
||||
m_Name: Simulation Validation
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &1611407115
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1611407114}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ac6bdfff8f25443fa08ae31c4ce351fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
EnableValidation: 0
|
||||
ValidationTimeRange:
|
||||
x: 0.25
|
||||
y: 4
|
||||
ValidateJointBehavior: 1
|
||||
ValidateRigidBodiesAtRest: 0
|
||||
LinearVelocityErrorTolerance: 0.005
|
||||
AngularVelocityErrorTolerance: 0.2
|
||||
PositionErrorTolerance: 0.01
|
||||
OrientationErrorTolerance: 0.1
|
||||
--- !u!4 &1611407116
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1611407114}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -2.1080265, y: -6.2883453, z: -30.222397}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1867381777
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -230,60 +230,6 @@ Transform:
|
|||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &554042859
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 554042861}
|
||||
- component: {fileID: 554042860}
|
||||
m_Layer: 0
|
||||
m_Name: Simulation Validation
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &554042860
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 554042859}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ac6bdfff8f25443fa08ae31c4ce351fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
EnableValidation: 0
|
||||
ValidationTimeRange:
|
||||
x: 0.25
|
||||
y: 3
|
||||
ValidateJointBehavior: 1
|
||||
ValidateRigidBodiesAtRest: 0
|
||||
LinearVelocityErrorTolerance: 0.005
|
||||
AngularVelocityErrorTolerance: 0.01
|
||||
PositionErrorTolerance: 0.01
|
||||
OrientationErrorTolerance: 0.01
|
||||
--- !u!4 &554042861
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 554042859}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -2.1080265, y: -6.2883453, z: -30.222397}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1001 &613302045
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -324,7 +270,7 @@ PrefabInstance:
|
|||
- target: {fileID: 7682084060178167355, guid: ebfe93b387bf4a54989a6f911bdc11d1,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 5
|
||||
value: 4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7682084060178167355, guid: ebfe93b387bf4a54989a6f911bdc11d1,
|
||||
type: 3}
|
||||
|
@ -680,7 +626,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
ConnectedBody: {fileID: 1670375550}
|
||||
EnableCollision: 0
|
||||
RaiseImpulseEvents: 0
|
||||
MaxImpulse:
|
||||
x: Infinity
|
||||
y: Infinity
|
||||
|
|
|
@ -1019,60 +1019,6 @@ Transform:
|
|||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &892956675
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 892956677}
|
||||
- component: {fileID: 892956676}
|
||||
m_Layer: 0
|
||||
m_Name: Simulation Validation
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &892956676
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 892956675}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ac6bdfff8f25443fa08ae31c4ce351fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
EnableValidation: 0
|
||||
ValidationTimeRange:
|
||||
x: 0.5
|
||||
y: 2
|
||||
ValidateJointBehavior: 1
|
||||
ValidateRigidBodiesAtRest: 0
|
||||
LinearVelocityErrorTolerance: 0.005
|
||||
AngularVelocityErrorTolerance: 0.1
|
||||
PositionErrorTolerance: 0.01
|
||||
OrientationErrorTolerance: 0.02
|
||||
--- !u!4 &892956677
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 892956675}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 20.535793, y: -10.438924, z: 32.668446}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1001 &939443129
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -1113,7 +1059,7 @@ PrefabInstance:
|
|||
- target: {fileID: 7682084060178167355, guid: ebfe93b387bf4a54989a6f911bdc11d1,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 6
|
||||
value: 5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7682084060178167355, guid: ebfe93b387bf4a54989a6f911bdc11d1,
|
||||
type: 3}
|
||||
|
@ -1588,7 +1534,7 @@ Transform:
|
|||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 5
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1300592159
|
||||
GameObject:
|
||||
|
|
|
@ -123,60 +123,6 @@ NavMeshSettings:
|
|||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1 &167063608
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 167063610}
|
||||
- component: {fileID: 167063609}
|
||||
m_Layer: 0
|
||||
m_Name: Simulation Validation
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &167063609
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 167063608}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ac6bdfff8f25443fa08ae31c4ce351fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
EnableValidation: 0
|
||||
ValidationTimeRange:
|
||||
x: 1
|
||||
y: 2
|
||||
ValidateJointBehavior: 1
|
||||
ValidateRigidBodiesAtRest: 0
|
||||
LinearVelocityErrorTolerance: 0.005
|
||||
AngularVelocityErrorTolerance: 0.01
|
||||
PositionErrorTolerance: 0.15
|
||||
OrientationErrorTolerance: 0.1
|
||||
--- !u!4 &167063610
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 167063608}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 34.288464, y: 0.047004223, z: 21.220373}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &243054284
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -1446,7 +1446,7 @@ PrefabInstance:
|
|||
- target: {fileID: 7682084060178167355, guid: ebfe93b387bf4a54989a6f911bdc11d1,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 11
|
||||
value: 10
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7682084060178167355, guid: ebfe93b387bf4a54989a6f911bdc11d1,
|
||||
type: 3}
|
||||
|
@ -5316,60 +5316,6 @@ Transform:
|
|||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 6
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 45, z: 35}
|
||||
--- !u!1 &1782764260
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1782764262}
|
||||
- component: {fileID: 1782764261}
|
||||
m_Layer: 0
|
||||
m_Name: Simulation Validation
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &1782764261
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1782764260}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ac6bdfff8f25443fa08ae31c4ce351fa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
EnableValidation: 0
|
||||
ValidationTimeRange:
|
||||
x: 1
|
||||
y: 3
|
||||
ValidateJointBehavior: 1
|
||||
ValidateRigidBodiesAtRest: 0
|
||||
LinearVelocityErrorTolerance: 0.005
|
||||
AngularVelocityErrorTolerance: 0.01
|
||||
PositionErrorTolerance: 0.01
|
||||
OrientationErrorTolerance: 0.01
|
||||
--- !u!4 &1782764262
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1782764260}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0.0000000037252903, w: 1}
|
||||
m_LocalPosition: {x: 26.509773, y: -2.2065744, z: 26.389553}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 10
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &2090748528
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -26,31 +26,6 @@ class Initialization
|
|||
// don't modify the project when entering playmode
|
||||
return;
|
||||
}
|
||||
// else: [InitializeOnLoadMethod]
|
||||
static void AutoImportUnityPhysicsSamples()
|
||||
{
|
||||
if (Application.isPlaying)
|
||||
{
|
||||
// don't modify the project when entering playmode
|
||||
return;
|
||||
}
|
||||
// else:
|
||||
|
||||
// Find Unity Physics package samples and auto-import them if not yet imported.
|
||||
// Note: we are setting packageVersion to null here to ignore the version of the package.
|
||||
foreach (var sample in Sample.FindByPackage("com.unity.physics", null))
|
||||
{
|
||||
if (!sample.isImported)
|
||||
{
|
||||
//sample.importPath = Application.dataPath + "/Authoring";
|
||||
var success = sample.Import(Sample.ImportOptions.HideImportWindow | Sample.ImportOptions.OverridePreviousImports);
|
||||
if (!success)
|
||||
{
|
||||
Debug.LogWarning("Failed to import Unity Physics package samples");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Find Unity Physics package samples and auto-import them if not yet imported.
|
||||
// Note: we are setting packageVersion to null here to ignore the version of the package.
|
||||
|
@ -59,7 +34,8 @@ class Initialization
|
|||
if (!sample.isImported)
|
||||
{
|
||||
//sample.importPath = Application.dataPath + "/Authoring";
|
||||
var success = sample.Import(Sample.ImportOptions.HideImportWindow | Sample.ImportOptions.OverridePreviousImports);
|
||||
var success = sample.Import(Sample.ImportOptions.HideImportWindow |
|
||||
Sample.ImportOptions.OverridePreviousImports);
|
||||
if (!success)
|
||||
{
|
||||
Debug.LogWarning("Failed to import Unity Physics package samples");
|
||||
|
|
Загрузка…
Ссылка в новой задаче