How Do I Change the Touch Field of a Moving Actor to as Specific Shape

uhyanauhyana Member Posts: 36
edited April 2012 in Working with GS (Mac)
Basically I have a bunch of different shaped actors spawning and moving to the right, but the touch field for each object is a square box around each actor. My actors are .pngs so even if I crop it as much as I can you could touch a part of the actor in the corner where and it would still move it. How do I make only touches inside the shape of an object touchable?

Best Answer

  • JohnPapiomitisJohnPapiomitis Posts: 6,256
    Accepted Answer
    You could get the magnitude between the object and the touch and only fire your rules off if magnitude < whatever.

Answers

Sign In or Register to comment.