Player moves based on where the camera is pointing and faces the direction in which it is moving
This commit is contained in:
@@ -147,8 +147,8 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 150911451}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0.5, z: 0.5}
|
||||
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
|
||||
m_LocalPosition: {x: 0, y: 0.5, z: 0}
|
||||
m_LocalScale: {x: 0.25, y: 0.5, z: 1.5}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 741217456}
|
||||
m_RootOrder: 0
|
||||
@@ -538,7 +538,9 @@ MonoBehaviour:
|
||||
speed: 20
|
||||
jumpSpeed: 20
|
||||
gravity: 5
|
||||
rotationSpeed: 200
|
||||
rotationSpeed: 20
|
||||
pivot: {fileID: 1402695046}
|
||||
playerModel: {fileID: 150911451}
|
||||
--- !u!143 &741217458
|
||||
CharacterController:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
Reference in New Issue
Block a user