oskar / raycing

Raycing the grid
http://oskar.github.io/raycing/
1 stars 1 forks source link

Arcade mode #14

Open Korla opened 8 years ago

Korla commented 8 years ago

Only vectors following some "delta Angle" and "delta Length" algorithm are legal moves.

Korla commented 8 years ago

The grid isn't used. Moves are selected using the previous vector along the circumference of a "move zone". The move zone is modeled as an oval using a center and an offset. The other oval point is the mirror of the offset along the move axis.

This "move zone" models the characteristics of the car, fast cars have oval shapes pointing in the direction of travel, and cars good at turning have oval shapes perpendicular to the travel direction.