look x limit
This commit is contained in:
parent
120fa2a82b
commit
efb40a50bd
@ -1391,7 +1391,7 @@ Transform:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 3244356566819001084}
|
m_GameObject: {fileID: 3244356566819001084}
|
||||||
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_LocalPosition: {x: 0, y: 0, z: 3.67}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
@ -1481,7 +1481,7 @@ MonoBehaviour:
|
|||||||
runningSpeed: 7.5
|
runningSpeed: 7.5
|
||||||
jumpSpeed: 3
|
jumpSpeed: 3
|
||||||
lookSpeed: 7.5
|
lookSpeed: 7.5
|
||||||
lookXLimit: 7.5
|
lookXLimit: 8.75
|
||||||
playerCamera: {fileID: 3244356567913423211}
|
playerCamera: {fileID: 3244356567913423211}
|
||||||
runningParticles: {fileID: 1608137079}
|
runningParticles: {fileID: 1608137079}
|
||||||
rotationX: 0
|
rotationX: 0
|
||||||
|
@ -8,7 +8,7 @@ public class PlayerController : MonoBehaviour
|
|||||||
public float runningSpeed = 7.5f;
|
public float runningSpeed = 7.5f;
|
||||||
public float jumpSpeed = 7.5f;
|
public float jumpSpeed = 7.5f;
|
||||||
public float lookSpeed = 7.5f;
|
public float lookSpeed = 7.5f;
|
||||||
public float lookXLimit = 7.5f;
|
public float lookXLimit = 40.0f;
|
||||||
public Camera playerCamera;
|
public Camera playerCamera;
|
||||||
public ParticleSystem runningParticles;
|
public ParticleSystem runningParticles;
|
||||||
Vector3 moveDirection = Vector3.zero;
|
Vector3 moveDirection = Vector3.zero;
|
||||||
|
Loading…
Reference in New Issue
Block a user