Circular Worlds

The track_format expects a rectangular (or cuboidal) world and non rectangular worlds are expected to be modeled using obstacles.

There will be many tracks though with a perfectly round tank and with that in each track, a "round" polygon would be stored with complicated maths to do raycasting. When just storing, that the world is rounded, an oval can be easily raycasted and it just requires one "round" flag.

I suggest to have another attribute (i.e. world_shape) at root level to describe the shape:

image

Some of the text describing the world would have to be adapted to this but its also possible to describe the oval/ sphere in the previously described R² /R³ space.

Edited Jan 18, 2023 by Andi Gerken
Assignee Loading
Time tracking Loading