Skip to content

Create a race track generator #2

@Thommynator

Description

@Thommynator

Goal

There can't be a race without a race track/course, right?

It would be good to have some kind of generator, that creates some random racetracks.
For a first version, it would be fine enough, if it's just an ellipse with some additional curves or something like this.
Later the cars will measure the distance of their position to the border of the track and will collide with the border. This might also have an impact on the design concept of representing the track, e.g. some kind of polygon representation for easier collision detection,... ?

Requirements:

  • closed/looped track
  • random shape
  • no crossings and roads may not touch each other
  • some kind of start/finish line

Something like this:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions