mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
BilliardsPredicted: removed NetworkRigidbody sync. we want to predict & reconcile instead.
This commit is contained in:
parent
42e1a0ca5f
commit
a1b13267a8
@ -15,7 +15,6 @@ GameObject:
|
||||
- component: {fileID: 3429911415116987811}
|
||||
- component: {fileID: -177125271246800426}
|
||||
- component: {fileID: 5308121378143249733}
|
||||
- component: {fileID: -4867038537898682568}
|
||||
m_Layer: 0
|
||||
m_Name: RedPredicted
|
||||
m_TagString: Untagged
|
||||
@ -149,37 +148,3 @@ MonoBehaviour:
|
||||
syncDirection: 0
|
||||
syncMode: 0
|
||||
syncInterval: 0
|
||||
--- !u!114 &-4867038537898682568
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3429911415116987808}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 3b20dc110904e47f8a154cdcf6433eae, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
syncDirection: 0
|
||||
syncMode: 0
|
||||
syncInterval: 0
|
||||
target: {fileID: 3429911415116987812}
|
||||
clientAuthority: 0
|
||||
syncPosition: 1
|
||||
syncRotation: 1
|
||||
syncScale: 0
|
||||
interpolatePosition: 1
|
||||
interpolateRotation: 1
|
||||
interpolateScale: 0
|
||||
coordinateSpace: 0
|
||||
sendIntervalMultiplier: 1
|
||||
timelineOffset: 0
|
||||
showGizmos: 0
|
||||
showOverlay: 0
|
||||
overlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
||||
onlySyncOnChange: 0
|
||||
bufferResetMultiplier: 3
|
||||
positionSensitivity: 0.01
|
||||
rotationSensitivity: 0.01
|
||||
scaleSensitivity: 0.01
|
||||
|
@ -94,7 +94,7 @@ void OnTriggerEnter(Collider other)
|
||||
{
|
||||
rigidBody.position = startPosition;
|
||||
rigidBody.Sleep(); // reset forces
|
||||
GetComponent<NetworkRigidbodyUnreliable>().RpcTeleport(startPosition);
|
||||
// GetComponent<NetworkRigidbodyUnreliable>().RpcTeleport(startPosition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -146,7 +146,6 @@ GameObject:
|
||||
- component: {fileID: 3429911415116987811}
|
||||
- component: {fileID: 1848203816128897140}
|
||||
- component: {fileID: 6607303410184343467}
|
||||
- component: {fileID: -2991986576794647411}
|
||||
m_Layer: 0
|
||||
m_Name: WhitePredicted
|
||||
m_TagString: Untagged
|
||||
@ -284,37 +283,3 @@ MonoBehaviour:
|
||||
dragIndicator: {fileID: 982362982}
|
||||
rigidBody: {fileID: 1848203816128897140}
|
||||
forceMultiplier: 100
|
||||
--- !u!114 &-2991986576794647411
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3429911415116987808}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 3b20dc110904e47f8a154cdcf6433eae, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
syncDirection: 0
|
||||
syncMode: 0
|
||||
syncInterval: 0
|
||||
target: {fileID: 3429911415116987812}
|
||||
clientAuthority: 0
|
||||
syncPosition: 1
|
||||
syncRotation: 1
|
||||
syncScale: 0
|
||||
interpolatePosition: 1
|
||||
interpolateRotation: 1
|
||||
interpolateScale: 0
|
||||
coordinateSpace: 0
|
||||
sendIntervalMultiplier: 1
|
||||
timelineOffset: 0
|
||||
showGizmos: 0
|
||||
showOverlay: 0
|
||||
overlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
||||
onlySyncOnChange: 0
|
||||
bufferResetMultiplier: 3
|
||||
positionSensitivity: 0.01
|
||||
rotationSensitivity: 0.01
|
||||
scaleSensitivity: 0.01
|
||||
|
Loading…
Reference in New Issue
Block a user