Taaseen-Ali / OpenAI-Gym-Car-Race

A self-driving car OpenAI Gym environment
8 stars 8 forks source link

Incorporate physics modeling #4

Open Taaseen-Ali opened 3 years ago

Taaseen-Ali commented 3 years ago

The environment currently only looks at the collisions between pygame rects and points to determine collisions. This is problematic because pygame's bounding boxes for rotated images aren't accurate. To make room for future functionality, a physics engine should wrap around the environment to detect collisions between cars and track borders. Box2d is recommended for this.