game engine - How to store edges of convex polygon? -
i'm making own simple 2d-game's engine , want use separating axis theorem detect collisions requires objects convex polygons , love able create these polygons in easy way because every physical object in game required have own polygon mapped painful create these polygons hand (by providing pixel coordinates of every vertex of polygon) every object.
is there better way this?
Comments
Post a Comment