应该解决了问题,问题来源:AI 在我不知情的情况下引入了刚体速度,导致客户端与服务端的状态一直对不上
This commit is contained in:
@@ -492,7 +492,7 @@ MonoBehaviour:
|
||||
_speed: 2
|
||||
_rigid: {fileID: -1362768914916555191}
|
||||
_inputComponent: {fileID: 8938569698484985372}
|
||||
_applyServerCorrection: 0
|
||||
_applyServerCorrection: 1
|
||||
_lerpRate: 0.1
|
||||
--- !u!114 &8938569698484985372
|
||||
MonoBehaviour:
|
||||
@@ -508,7 +508,6 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
_playerId: 1234
|
||||
_sendInterval: 0.05
|
||||
_useNetwork: 1
|
||||
--- !u!54 &-1362768914916555191
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
Reference in New Issue
Block a user