From 5c30e12f9a511e0f750626e0f6b23baaa838e41c Mon Sep 17 00:00:00 2001 From: Surya Narayan Date: Thu, 22 Jun 2023 18:44:30 -0400 Subject: [PATCH] changed collisionInfo.Normal to collisionInfo.GetNormal() --- tutorials/physics/physics_introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/physics/physics_introduction.rst b/tutorials/physics/physics_introduction.rst index c3346085d9f..d7bac887cf7 100644 --- a/tutorials/physics/physics_introduction.rst +++ b/tutorials/physics/physics_introduction.rst @@ -414,7 +414,7 @@ Or to bounce off of the colliding object: { var collisionInfo = MoveAndCollide(_velocity * (float)delta); if (collisionInfo != null) - _velocity = _velocity.Bounce(collisionInfo.Normal); + _velocity = _velocity.Bounce(collisionInfo.GetNormal()); } }