mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix stacked demo
This commit is contained in:
parent
5f7da29749
commit
f3090ff1c7
@ -21,7 +21,7 @@ void Update()
|
||||
{
|
||||
// we may have hit the ghost object.
|
||||
// find the original.
|
||||
if (PredictedRigidbody.IsPredicted(hit.collider, out PredictedRigidbody predicted))
|
||||
if (ForecastRigidbody.IsPredicted(hit.collider, out ForecastRigidbody predicted))
|
||||
{
|
||||
// apply force in a random direction, this looks best
|
||||
Debug.Log($"Applying force to: {hit.collider.name}");
|
||||
|
Loading…
Reference in New Issue
Block a user