Detect the car's collision with oranges, butters and road limits.
Closed this issue · 0 comments
nekrotzar commented
Using surrounding boxes aligned with the axis (axis aligned bounding boxes - AABB). When the car reaches the limits of the track (collision with Cheerios) or a butter, it should stop, even if the user continues to press the button. When collided by the car, the butters or cheerios move slightly. If the car is hit by an orange, the player loses the race and the car should be placed at the start line.