I know this doesn't look like much, but I've been working on SAT collision detection and just got convex hulls working. There's not really that much that is done with them, at the moment, but you can see (in the attached demo) that they are getting generated. In this case, the hull is generated from the sprite's bounding box. Unlike the world bounding box (in blue) the convex hull (in yellow) rotates with the player.
Tutorial 9 with Convex Hull Test
Like I said, not much to see and the hull isn't even being used yet. Hopefully I'll have more tomorrow or Tuesday...
No comments:
Post a Comment