奔跑功能

This commit is contained in:
2025-05-18 18:27:54 +08:00
parent 4a614b6a21
commit 62886b46e9
5 changed files with 46177 additions and 46115 deletions

View File

@@ -9844,10 +9844,10 @@ CapsuleCollider:
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.5
m_Height: 2
m_Radius: 0.3
m_Height: 1.8
m_Direction: 1
m_Center: {x: 0, y: 1, z: 0}
m_Center: {x: 0, y: 0.9, z: 0}
--- !u!114 &7406758408172975810
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -9863,11 +9863,11 @@ MonoBehaviour:
_planeConstraint: 0
_rootTransform: {fileID: 0}
_rootTransformOffset: {x: 0, y: 0, z: 0}
_radius: 0.5
_height: 2
_radius: 0.3
_height: 1.8
_slopeLimit: 45
_stepOffset: 0.45
_perchOffset: 0.5
_perchOffset: 0.3
_perchAdditionalHeight: 0.4
_slopeLimitOverride: 0
_useFlatTop: 0
@@ -9902,7 +9902,7 @@ MonoBehaviour:
_rotationMode: 0
_rotationRate: 540
_startingMovementMode: 1
_maxWalkSpeed: 5
_maxWalkSpeed: 3
_minAnalogWalkSpeed: 0
_maxAcceleration: 20
_brakingDecelerationWalking: 20
@@ -9942,13 +9942,14 @@ MonoBehaviour:
_pushForceScale: 1
_standingDownwardForceScale: 1
_camera: {fileID: 0}
nextShowSlotIndex: -1
maxSprintSpeed: 5
cameraParent: {fileID: 8796494894830104914}
invertLook: 1
sensitivity: {x: 0.05, y: 0.05}
sensitivity: {x: 0.02, y: 0.02}
minPitch: -45
maxPitch: 80
handMaxAngle: {x: 25, y: -25}
nextShowSlotIndex: -1
IsSelf: 0
lookAtIK: {fileID: 0}
aimDistance: 1.5