浏览代码

Camera tweaks

Tweaks to the prefab
Added Ground layer, camera now avoids that (but landmasses not on the Ground layer yet)
/main
Ciro Continisio 3 年前
当前提交
86579ca9
共有 6 个文件被更改,包括 506 次插入996 次删除
  1. 78
      UOP1_Project/Assets/Prefabs/Gameplay/CameraSystem.prefab
  2. 196
      UOP1_Project/Assets/Scenes/WIP/TestingGround.unity
  3. 208
      UOP1_Project/Assets/Scenes/WIP/TestingGround_Small.unity
  4. 17
      UOP1_Project/Assets/Scenes/WIP/TestingGround_Small/LightingData.asset
  5. 1001
      UOP1_Project/Assets/Scenes/WIP/TestingGround_Small/Lightmap-0_comp_light.exr
  6. 2
      UOP1_Project/ProjectSettings/TagManager.asset

78
UOP1_Project/Assets/Prefabs/Gameplay/CameraSystem.prefab


m_Name:
m_EditorClassIdentifier:
m_BindingMode: 4
m_FollowOffset: {x: 0, y: 5, z: -8}
m_XDamping: 0.1
m_YDamping: 3
m_FollowOffset: {x: 0, y: 5, z: -9}
m_XDamping: 1
m_YDamping: 2
m_ZDamping: 1
m_AngularDampingMode: 0
m_PitchDamping: 0

m_Name:
m_EditorClassIdentifier:
m_TrackedObjectOffset: {x: 0, y: 1, z: 0}
m_LookaheadTime: 0.5
m_LookaheadSmoothing: 20
m_LookaheadIgnoreY: 1
m_HorizontalDamping: 0.1
m_VerticalDamping: 3
m_LookaheadTime: 0
m_LookaheadSmoothing: 0
m_LookaheadIgnoreY: 0
m_HorizontalDamping: 1
m_VerticalDamping: 5
m_SoftZoneWidth: 0.8
m_SoftZoneHeight: 0.8
m_SoftZoneWidth: 0.5
m_SoftZoneHeight: 0.4
m_BiasX: 0
m_BiasY: 0
m_CenterOnActivate: 0

m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1988373824387590796}
m_LocalRotation: {x: 0.12278774, y: -0.08864836, z: 0.026336022, w: 0.9881149}
m_LocalRotation: {x: 0.12278772, y: -0.08864838, z: 0.026336027, w: 0.9881149}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:

ModeOverride: 0
LensShift: {x: 0, y: 0}
GateFit: 2
m_SensorSize: {x: 1.7777778, y: 1}
m_SensorSize: {x: 1.7772338, y: 1}
m_Transitions:
m_BlendHint: 0
m_InheritPosition: 0

m_Name:
m_EditorClassIdentifier:
m_BindingMode: 4
m_FollowOffset: {x: 0, y: 5, z: -8}
m_FollowOffset: {x: 0, y: 5, z: -9}
m_ZDamping: 1
m_ZDamping: 0.1
m_AngularDampingMode: 0
m_PitchDamping: 0
m_YawDamping: 0

m_DeadZoneWidth: 0
m_DeadZoneHeight: 0
m_SoftZoneWidth: 0.8
m_SoftZoneHeight: 0.8
m_SoftZoneHeight: 0.5
m_BiasX: 0
m_BiasY: 0
m_CenterOnActivate: 0

m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5457523176376150323}
m_LocalRotation: {x: 0.14805879, y: -0.087944664, z: 0.028598182, w: 0.98464537}
m_LocalRotation: {x: 0.1256596, y: -0.08857143, z: 0.026593605, w: 0.9877538}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:

ModeOverride: 0
LensShift: {x: 0, y: 0}
GateFit: 2
m_SensorSize: {x: 1.7777778, y: 1}
m_SensorSize: {x: 1.7772338, y: 1}
m_Transitions:
m_BlendHint: 0
m_InheritPosition: 0

m_Name:
m_EditorClassIdentifier:
m_BindingMode: 4
m_FollowOffset: {x: 0, y: 5, z: -8}
m_FollowOffset: {x: 0, y: 5, z: -9}
m_XDamping: 0.1
m_YDamping: 3
m_ZDamping: 1

m_Script: {fileID: 11500000, guid: f4044717213e31446939f7bd49c896ea, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TrackedObjectOffset: {x: 0, y: 1.5, z: 0}
m_LookaheadTime: 0.5
m_LookaheadSmoothing: 20
m_LookaheadIgnoreY: 1
m_TrackedObjectOffset: {x: 0, y: 1, z: 0}
m_LookaheadTime: 0
m_LookaheadSmoothing: 0
m_LookaheadIgnoreY: 0
m_VerticalDamping: 3
m_VerticalDamping: 1
m_DeadZoneHeight: 0
m_DeadZoneHeight: 0.1
m_SoftZoneHeight: 0.8
m_SoftZoneHeight: 0.7
m_BiasY: 0
m_BiasY: -0.05
m_CenterOnActivate: 0
--- !u!114 &1636482661
MonoBehaviour:

m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6333144650067166509}
m_LocalRotation: {x: 0.12278774, y: -0.08864836, z: 0.026336022, w: 0.9881149}
m_LocalRotation: {x: 0.10224989, y: -0.08917597, z: 0.024490183, w: 0.99045086}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:

ModeOverride: 0
LensShift: {x: 0, y: 0}
GateFit: 2
m_SensorSize: {x: 1.7777778, y: 1}
m_SensorSize: {x: 1.7772338, y: 1}
m_Transitions:
m_BlendHint: 0
m_InheritPosition: 0

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8745341641394998848}
m_LocalRotation: {x: 0.08212709, y: 0.09216256, z: -0.007627606, w: 0.992322}
m_LocalPosition: {x: 0, y: 5, z: -8}
m_LocalPosition: {x: 0, y: 5, z: -9}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 2955398947125553842}

ModeOverride: 0
LensShift: {x: 0, y: 0}
GateFit: 2
m_SensorSize: {x: 1.7777778, y: 1}
m_SensorSize: {x: 1.7772338, y: 1}
m_Transitions:
m_BlendHint: 0
m_InheritPosition: 1

m_LegacyVelocityFilterStrength: -1
m_YAxisRecentering:
m_enabled: 1
m_WaitTime: 2
m_RecenteringTime: 3
m_WaitTime: 3
m_RecenteringTime: 5
m_LegacyHeadingDefinition: -1
m_LegacyVelocityFilterStrength: -1
m_XAxis:

m_VelocityFilterStrength: 4
m_Bias: 0
m_RecenterToTargetHeading:
m_enabled: 1
m_WaitTime: 0.5
m_RecenteringTime: 20
m_enabled: 0
m_WaitTime: 3
m_RecenteringTime: 10
m_LegacyHeadingDefinition: -1
m_LegacyVelocityFilterStrength: -1
m_BindingMode: 4

m_Radius: 5
- m_Height: 5
m_Radius: 8
m_Radius: 9
- m_Height: 1
m_Radius: 3
m_LegacyHeadingBias: 3.4028235e+38

m_EditorClassIdentifier:
m_CollideAgainst:
serializedVersion: 2
m_Bits: 10240
m_Bits: 10368
m_IgnoreTag:
m_TransparentLayers:
serializedVersion: 2

m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8745341642014614487}
m_LocalRotation: {x: 0.20474699, y: -2.981331e-17, z: 2.8927992e-19, w: 0.97881496}
m_LocalPosition: {x: 0, y: 5, z: -8}
m_LocalRotation: {x: 0.20474696, y: -0.000000034152926, z: 0.0000000071440547, w: 0.97881496}
m_LocalPosition: {x: 0, y: 5, z: -9}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 8745341640208226295}

196
UOP1_Project/Assets/Scenes/WIP/TestingGround.unity
文件差异内容过多而无法显示
查看文件

208
UOP1_Project/Assets/Scenes/WIP/TestingGround_Small.unity


m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 263925610}
m_LocalRotation: {x: -0, y: -0.53989303, z: -0, w: 0.84173363}
m_LocalPosition: {x: 3.1355066, y: 3.71, z: 1.325654}
m_LocalPosition: {x: 4.604, y: 3.71, z: 1.245}
m_LocalScale: {x: 3.8501623, y: 0.30957243, z: 3.5561981}
m_Children: []
m_Father: {fileID: 1343018183}

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 314708499}
m_LocalRotation: {x: -0, y: -0.53989303, z: -0, w: 0.84173363}
m_LocalPosition: {x: 6.2433324, y: 6.67, z: -2.054215}
m_LocalPosition: {x: 8.084, y: 5.634, z: 1.459}
m_LocalScale: {x: 3.8501623, y: 0.30957243, z: 3.5561981}
m_Children: []
m_Father: {fileID: 1343018183}

- target: {fileID: 8791488512559450803, guid: 8cd2f4ad3ae032047aaaf5fe0254cb18,
type: 3}
propertyPath: m_BoundingSphereOverride.w
value: 4.0286167e-11
value: 8.3794603e-13
value: 6.61e-43
value: 2.7565928e+12
objectReference: {fileID: 0}
- target: {fileID: 8791488512559450803, guid: 8cd2f4ad3ae032047aaaf5fe0254cb18,
type: 3}

- {fileID: 2083851273}
- {fileID: 302373843}
- {fileID: 1157768193}
- {fileID: 1366387106}
m_Father: {fileID: 0}
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

m_Father: {fileID: 1343018183}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: -111.051, z: 32.129}
--- !u!1 &1366387105
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1366387106}
- component: {fileID: 1366387109}
- component: {fileID: 1366387108}
- component: {fileID: 1366387107}
m_Layer: 11
m_Name: Cube (14)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &1366387106
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1366387105}
m_LocalRotation: {x: -0, y: -0.53989303, z: -0, w: 0.84173363}
m_LocalPosition: {x: 7.629, y: 6.979, z: 4.342}
m_LocalScale: {x: 3.8501623, y: 0.30957243, z: 3.5561981}
m_Children: []
m_Father: {fileID: 1343018183}
m_RootOrder: 16
m_LocalEulerAnglesHint: {x: 0, y: -65.353004, z: 0}
--- !u!65 &1366387107
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1366387105}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!23 &1366387108
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1366387105}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: df1e4c0ec03c16946a00d278cc8503ae, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &1366387109
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1366387105}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &1424850940
GameObject:
m_ObjectHideFlags: 0

m_Modifications:
- target: {fileID: 1657732992883833910, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1657732992883833910, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.9957148
objectReference: {fileID: 0}
- target: {fileID: 1657732992883833910, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.000000014901161
objectReference: {fileID: 0}
- target: {fileID: 1657732992883833910, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
value: -0.09121942
value: -0.08864838
value: 0.015203235
objectReference: {fileID: 0}
- target: {fileID: 2808035858438402709, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2808035858438402709, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.99418306
value: 0.026336027
value: 0.055208135
value: 0.102249905
value: -0.09023615
value: -0.08917595
value: 0.020237578
objectReference: {fileID: 0}
- target: {fileID: 2955398947125553842, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2955398947125553842, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2955398947125553842, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2955398947125553842, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.9926639
objectReference: {fileID: 0}
- target: {fileID: 2955398947125553842, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalRotation.x
value: 0.077885754
objectReference: {fileID: 0}
- target: {fileID: 2955398947125553842, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.089750715
objectReference: {fileID: 0}
- target: {fileID: 2955398947125553842, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalRotation.z
value: 0.022291923
value: 0.024490178
objectReference: {fileID: 0}
- target: {fileID: 8745341640208226293, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}

propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8745341641394998850, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8745341641394998850, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalPosition.z
value: -6
objectReference: {fileID: 0}
- target: {fileID: 8745341642014614482, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8745341642014614482, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalPosition.z
value: -6
objectReference: {fileID: 0}
- target: {fileID: 8745341642014614482, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.9965927
objectReference: {fileID: 0}
- target: {fileID: 8745341642014614482, guid: 45632f0a227c860489bcba0eb1f4ec3e,
type: 3}
propertyPath: m_LocalRotation.x
value: 0.082480535
objectReference: {fileID: 0}
value: -0
value: -0.000000034152926
value: -0
value: 0.0000000071440547
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 45632f0a227c860489bcba0eb1f4ec3e, type: 3}

17
UOP1_Project/Assets/Scenes/WIP/TestingGround_Small/LightingData.asset
文件差异内容过多而无法显示
查看文件

1001
UOP1_Project/Assets/Scenes/WIP/TestingGround_Small/Lightmap-0_comp_light.exr
文件差异内容过多而无法显示
查看文件

2
UOP1_Project/ProjectSettings/TagManager.asset


- Water
- UI
-
-
- Ground
- PostProcessing
- Characters
- HideWaterMask

正在加载...
取消
保存