Predicted Billiards: fix ghost materials

This commit is contained in:
mischa 2024-03-20 18:38:14 +08:00
parent ac87583df8
commit 376ed53483
2 changed files with 42 additions and 10 deletions

View File

@ -100,11 +100,10 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9b91ecbcc199f4492b9a91e820070131, type: 3} m_Script: {fileID: 11500000, guid: 9b91ecbcc199f4492b9a91e820070131, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clientStarted: 0
sceneId: 0 sceneId: 0
_assetId: 776221176 _assetId: 776221176
serverOnly: 0 serverOnly: 0
visible: 0 visibility: 0
hasSpawned: 0 hasSpawned: 0
--- !u!135 &3429911415116987811 --- !u!135 &3429911415116987811
SphereCollider: SphereCollider:
@ -164,10 +163,27 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
syncDirection: 0 syncDirection: 0
syncMode: 0 syncMode: 0
syncInterval: 0.1 syncInterval: 0
predictedRigidbody: {fileID: -177125271246800426}
motionSmoothingVelocityThreshold: 0.1
motionSmoothingAngularVelocityThreshold: 0.1
motionSmoothingTimeTolerance: 0.5
stateHistoryLimit: 32 stateHistoryLimit: 32
correctionThreshold: 0.1 recordInterval: 0.05
onlyRecordChanges: 1
compareLastFirst: 1
positionCorrectionThreshold: 0.1
rotationCorrectionThreshold: 5
oneFrameAhead: 1 oneFrameAhead: 1
correctionMode: 1 correctionMode: 1
ghostMaterial: {fileID: 2100000, guid: 411a48b4a197d4924bec3e3809bc9320, type: 2} snapThreshold: 2
showGhost: 1
ghostVelocityThreshold: 0.1
localGhostMaterial: {fileID: 2100000, guid: 411a48b4a197d4924bec3e3809bc9320, type: 2}
remoteGhostMaterial: {fileID: 2100000, guid: 04f0b2088c857414393bab3b80356776, type: 2}
checkGhostsEveryNthFrame: 4
positionInterpolationSpeed: 15
rotationInterpolationSpeed: 10
teleportDistanceMultiplier: 10
reduceSendsWhileIdle: 1
lineTime: 10 lineTime: 10

View File

@ -232,11 +232,10 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9b91ecbcc199f4492b9a91e820070131, type: 3} m_Script: {fileID: 11500000, guid: 9b91ecbcc199f4492b9a91e820070131, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
clientStarted: 0
sceneId: 0 sceneId: 0
_assetId: 2140274599 _assetId: 2140274599
serverOnly: 0 serverOnly: 0
visible: 0 visibility: 0
hasSpawned: 0 hasSpawned: 0
--- !u!135 &3429911415116987811 --- !u!135 &3429911415116987811
SphereCollider: SphereCollider:
@ -300,10 +299,27 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
syncDirection: 0 syncDirection: 0
syncMode: 0 syncMode: 0
syncInterval: 0.1 syncInterval: 0
predictedRigidbody: {fileID: 1848203816128897140}
motionSmoothingVelocityThreshold: 0.1
motionSmoothingAngularVelocityThreshold: 0.1
motionSmoothingTimeTolerance: 0.5
stateHistoryLimit: 32 stateHistoryLimit: 32
correctionThreshold: 0.1 recordInterval: 0.05
onlyRecordChanges: 1
compareLastFirst: 1
positionCorrectionThreshold: 0.1
rotationCorrectionThreshold: 5
oneFrameAhead: 1 oneFrameAhead: 1
correctionMode: 1 correctionMode: 1
ghostMaterial: {fileID: 2100000, guid: 411a48b4a197d4924bec3e3809bc9320, type: 2} snapThreshold: 2
showGhost: 1
ghostVelocityThreshold: 0.1
localGhostMaterial: {fileID: 2100000, guid: 411a48b4a197d4924bec3e3809bc9320, type: 2}
remoteGhostMaterial: {fileID: 2100000, guid: 04f0b2088c857414393bab3b80356776, type: 2}
checkGhostsEveryNthFrame: 4
positionInterpolationSpeed: 15
rotationInterpolationSpeed: 10
teleportDistanceMultiplier: 10
reduceSendsWhileIdle: 1
lineTime: 10 lineTime: 10