making actors colision volume smaller than actor

rhinokeyrhinokey Member Posts: 158
edited May 2012 in Working with GS (Mac)
any way to make the objects collision area smaller than the actual actor volume, or any way to control collision more than just rectangle or circle?

Best Answers

  • tatiangtatiang Posts: 11,949
    Accepted Answer
    The only way to make a collision area smaller than the actual actor's size is to constrain another actor to that actor's position and make all of your collide rules dependent on the smaller "mask" actor.

    GameSalad does not currently support irregular or custom collision shapes, so you're limited to rectangle or circle.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • 3xL3xL Posts: 676
    Accepted Answer
    Actually one way you
    Can try us changing the colission shape to circle. I personally have tried this and it works at times. Not all the time but alot of times. Try it out :)
  • MotherHooseMotherHoose Posts: 2,456
    Accepted Answer
    another way … use the X and Y positions of the player to trigger behaviors when colliding

    demo: http://www.mediafire.com/?rosb8ns79etnib8

    image MH

Answers

  • BigCatBigCat Member, BASIC Posts: 19
    Personally - I think it's incredibly sad that this product doesn't support alpha channel collision masks. Not just sad - but a bit pathetic.
  • grierdillgrierdill Member Posts: 16
    here's my question though. So if you create a new actor that's smaller to deal with collisions, does that mean you have to make a ton of attributes in your scene to deal with every kind of collision so that the ACTUAL actor can reference the collisions and be effected?
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    No. You would want to unlock scene so that the ACTUAL actor can access the attributes of the collision "mask" actor.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • grierdillgrierdill Member Posts: 16
    ahhh, I always forget about that
Sign In or Register to comment.