diff --git a/tutorial_kinematic_char.md b/tutorial_kinematic_char.md index ec34aba..7e669a6 100644 --- a/tutorial_kinematic_char.md +++ b/tutorial_kinematic_char.md @@ -128,7 +128,7 @@ The solution? This situation is solved by "sliding" by the collision normal. Kin So what we want to do is this: -

+

When colliding, the function move() returns the "remainder" of the motion vector. That means, if the motion vector is 40 pixels, but collision happened at 10 pixels, the same vector but 30 pixels long is returned. The correct way to solve the motion is, then, to slide by the normal this way: