#include <PhPolygonCollision.h>
Public Attributes | |
PhPolygon | polygon |
Polygon. | |
int | type |
Type. |
Static geometry does not have callbacks or userdata, it's simple a polygon and a type. This can be used for walls, or pretty much anything that doesn't really change. Also note that static geometry can be added and removed dynamically, so it isn't really static. I've also used it to represent grass (which can be cut and destroyed) in the zelda demo.