Change size in Collision

sebmacflysebmacfly Member Posts: 1,018
edited November -1 in Working with GS (Mac)
Hello!, me again :)

Anybody know how to change the collision size on a actor? I don't want to collide with all the actor...

Comments

  • sebmacflysebmacfly Member Posts: 1,018
    Hummmm, i think i have the solution...
    I maked a second actor (invisible) with a smaller size, and i do the collision with that second actor.
  • VoidedSkyVoidedSky Member Posts: 1,095
    Yes, you create an invisible actor, and constrain the second actor's position to your 1st actor's position.
    ~CTM
  • adadoadado Member Posts: 219
    Changing an actor's size with the "Change Size" attribute will resize its image but leave its collision size the same (at least currently). Proactive thinking here will help...in your case, start with actor the size of the collision area and then make him bigger. Problem with this is if the "Change Size" is in a rule or timer that will repeat, it keeps on changing.

    or

    If you resize an image using "Change Attribute" on the actor's "width" and/or "height", then the image *and* the collision size are resized.

    or

    Or you can constrain another invisible actor as you have done, but that is a bit more processor heavy.
  • sebmacflysebmacfly Member Posts: 1,018
    Thanks!

    An no problem with creating the app? GS will do it without any error?
Sign In or Register to comment.