View Full Version : Whats up with the PolygonShape class?

07-06-2014, 01:38 AM
The PolygonShape class has only one method to set the points in the polygon set_as_box (), but I dont what to set as box I want to place the points in an array and then build the polygon from that array. I'm pretty sure this was in the engine at one point, right?

I also found a collision outline class and that you can generate one in the sprite class, but how would I use this with the physics module? It seems like they are sepperate systems.

07-07-2014, 04:16 PM
The clanPhysics2D module is separate to CollisionOutline. They are different systems.

At the moment, nobody is submitting patches to clanPhysics2D. Either it is awesome, or it has been abandoned.

(I have never used it)

07-08-2014, 01:53 AM
Thanks for the repply, I just switched to Box2D, it looks like the clanl physics module is indeed incomplete.