Define space within an object to use collision rule
RRS
Member Posts: 8
Is there a way I can define an area or a portion of my "player/character" to use with collide attribute with? Meaning if an object strikes my character in one place nothing happens, but if it strikes it within the pre-defined perimeter it triggers an action or destroy or bounce?
Comments
http://gamesalad.com/wiki/how_tos:gsc_how_to_have_more_then_one_hit_points#
There's a tshirt booth demo here: http://gamesalad.com/wiki/how_tos:gsc_how_to_have_more_then_one_hit_points#
Edit: Beaten to it, by Mr.Rinoy!
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
If you make an actor that is a rectangle (in other words NOT a perfect square) and set the collision shape to circle an interesting thing happens. The collision shape is a perfect circle (not an oval) and is centered. This circle will have the diameter of the shorter side of the rectangle. So sometimes I may have an actor that is much wider than it is tall (guy with arms out lets say) and I will set it to circle so that the collision happens when it hits the centered circle which I try to line up my image so that the body lines up with this imaginary circle. When the arms overlap with something nothing happens, but when the body is hit the collision is triggered. I have found this to be useful from time to time.