We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a187bed commit 5c30e12Copy full SHA for 5c30e12
tutorials/physics/physics_introduction.rst
@@ -414,7 +414,7 @@ Or to bounce off of the colliding object:
414
{
415
var collisionInfo = MoveAndCollide(_velocity * (float)delta);
416
if (collisionInfo != null)
417
- _velocity = _velocity.Bounce(collisionInfo.Normal);
+ _velocity = _velocity.Bounce(collisionInfo.GetNormal());
418
}
419
420
0 commit comments