fix: Billiards / BilliardsPredicted ball Rigidbody CollisionMode changed from Continous to ContinousDynamic to fix white flying through red when applying large forces

This commit is contained in:
mischa 2023-09-14 11:29:33 +02:00
parent 7b49b7d09d
commit 613f84b494
6 changed files with 14 additions and 6 deletions

View File

@ -133,7 +133,7 @@ Rigidbody:
m_IsKinematic: 0
m_Interpolate: 1
m_Constraints: 0
m_CollisionDetection: 1
m_CollisionDetection: 2
--- !u!114 &5308121378143249733
MonoBehaviour:
m_ObjectHideFlags: 0

View File

@ -265,7 +265,7 @@ Rigidbody:
m_IsKinematic: 0
m_Interpolate: 1
m_Constraints: 0
m_CollisionDetection: 1
m_CollisionDetection: 2
--- !u!114 &6607303410184343467
MonoBehaviour:
m_ObjectHideFlags: 0

View File

@ -7,4 +7,8 @@ Hits are sent to the server with a [Command].
There will always be some latency for the results to show.
To solve this, there's another BilliardsPredicted demo which uses prediction & reconciliation.
This demo however is meant for complete beginners to learn Mirror!
This demo however is meant for complete beginners to learn Mirror!
Notes:
- Red/White ball Rigidbody CollisionMode needs to be ContinousDynamic to avoid white flying through red sometimes.
even 'Continous' is not enough, we need ContinousDynamic.

View File

@ -133,7 +133,7 @@ Rigidbody:
m_IsKinematic: 0
m_Interpolate: 1
m_Constraints: 0
m_CollisionDetection: 1
m_CollisionDetection: 2
--- !u!114 &5308121378143249733
MonoBehaviour:
m_ObjectHideFlags: 0

View File

@ -265,7 +265,7 @@ Rigidbody:
m_IsKinematic: 0
m_Interpolate: 1
m_Constraints: 0
m_CollisionDetection: 1
m_CollisionDetection: 2
--- !u!114 &6607303410184343467
MonoBehaviour:
m_ObjectHideFlags: 0

View File

@ -5,4 +5,8 @@ If you are a beginner, start with the basic Billiards demo instead.
If you are advanced, this demo shows how to use Mirror's prediction features for physics / FPS games.
The demo is work in progress.
At the moment, this is only for the Mirror team to test individual prediction features!
At the moment, this is only for the Mirror team to test individual prediction features!
Notes:
- Red/White ball Rigidbody CollisionMode needs to be ContinousDynamic to avoid white flying through red sometimes.
even 'Continous' is not enough, we need ContinousDynamic.