summaryrefslogtreecommitdiff
path: root/Assets/Prefabs/Player.prefab
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/Prefabs/Player.prefab')
-rw-r--r--Assets/Prefabs/Player.prefab58
1 files changed, 56 insertions, 2 deletions
diff --git a/Assets/Prefabs/Player.prefab b/Assets/Prefabs/Player.prefab
index e70f94a..2e8ced1 100644
--- a/Assets/Prefabs/Player.prefab
+++ b/Assets/Prefabs/Player.prefab
@@ -141,6 +141,7 @@ Transform:
m_Children:
- {fileID: 3858086185141390273}
- {fileID: 8065121896564615395}
+ - {fileID: 4408286991926610371}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!54 &6800731054372189146
@@ -368,6 +369,7 @@ GameObject:
m_Component:
- component: {fileID: 3858086185141390273}
- component: {fileID: 8017654697833592608}
+ - component: {fileID: 1683818354991653245}
m_Layer: 0
m_Name: PlayerRotation
m_TagString: Untagged
@@ -383,7 +385,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4361574340126228034}
serializedVersion: 2
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ 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
@@ -403,7 +405,59 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 7ef2d969201f5284b968982b605fb3ff, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::PlayerRotationController
- playerControl: {fileID: 5427005771150001327}
+ lookAt: {fileID: 4408286991926610371}
+ control: {fileID: 3267697200445213522}
+--- !u!1183024399 &1683818354991653245
+LookAtConstraint:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 4361574340126228034}
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Weight: 1
+ m_RotationAtRest: {x: 0, y: 0, z: 0}
+ m_RotationOffset: {x: 0, y: 0, z: 0}
+ m_Roll: 0
+ m_WorldUpObject: {fileID: 0}
+ m_UseUpObject: 0
+ m_Active: 1
+ m_IsLocked: 1
+ m_Sources:
+ - sourceTransform: {fileID: 4408286991926610371}
+ weight: 1
+--- !u!1 &4683232950500733684
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 4408286991926610371}
+ m_Layer: 0
+ m_Name: LookAt
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &4408286991926610371
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 4683232950500733684}
+ serializedVersion: 2
+ 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: 2684917141693768409}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &7321994139321691109
GameObject:
m_ObjectHideFlags: 0