To detect the car's collision with oranges, butters and road limits (the
cheerios) by 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.
To detect the car's collision with oranges, butters and road limits (the cheerios) by 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.