Results 1 to 3 of 3

Thread: Whats up with the PolygonShape class?

  1. #1

    Default Whats up with the PolygonShape class?

    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.

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    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)

  3. #3

    Default

    Thanks for the repply, I just switched to Box2D, it looks like the clanl physics module is indeed incomplete.

Similar Threads

  1. Minecraft Class.
    By Mimzo in forum RTsoft Tavern
    Replies: 0
    Last Post: 05-16-2014, 07:19 AM
  2. Favorite class
    By KillaPrime in forum RTsoft Tavern
    Replies: 13
    Last Post: 04-17-2014, 02:27 AM
  3. Just ran across the TextScanner class
    By BigBMan in forum Proton SDK
    Replies: 2
    Last Post: 04-21-2011, 03:07 AM
  4. CL_Random Class
    By rombust in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 07-21-2009, 07:54 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •