Sébastien C. (@sebc@mastodon.gamedev.place)
I met a programming challenge in my game. I am trying to handle collisions between 2D bodies (planets or spaceships). Each body's shape is defined by an separate tile grid. The tiles are squares with a size of 1 and aligned on the grid, but the resulting body (grid) can be of any shape or size. Each body also has its own position and rotation in space.
(concrete example of what I mean: https://mastodon.gamedev.place/@sebc/110101713746036399 )
(I will continue in the thread)
#gamedev #programming #data #algorithm #index
Gamedev Mastodon