From d67a4e9e632a9e778fc63d359387e5bb393993be Mon Sep 17 00:00:00 2001 From: Matthew Date: Thu, 22 Jun 2023 19:50:30 -0400 Subject: [PATCH] Merge pull request #7549 from Surya-Narayan/fix-c#-incorrect-example-method 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 c3346085d..d7bac887c 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()); } }