fix stacked demo

This commit is contained in:
mischa 2024-04-02 16:32:13 +08:00
parent 5f7da29749
commit f3090ff1c7

View File

@ -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}");