You need: graph paper (or a printed grid), a pencil and a ruler.
Game engines move objects with vector addition. Start a ball at position Pโ = (0, 0) with velocity ๐ฏโ = [2, 3]. Each "frame":
- New position = old position + velocity.
- New velocity = old velocity + [0, โ1] (a simple "gravity" vector).
Repeat for 7 frames, plotting each position, then connect the dots.
What to look for: the positions are (2, 3), (4, 5), (6, 6), (8, 6), (10, 5), (12, 3) and (14, 0), and the velocities go [2, 2], [2, 1], [2, 0], [2, โ1], โฆ The dots trace a parabola-shaped path, symmetric about x = 7, like a real jump. Try changing the gravity vector to [0, โ2] and see how the path changes.