2D Toolkit Forum
2D Toolkit => Support => Topic started by: will_brett on February 18, 2013, 12:24:38 am
-
Touch Object Event (Playmaker) doesn't work with TK2D sprites or animated sprites.
Is this something that just doesn't work or is it something I am doing wrong?
What I have is one state with a "Touch object event" which goes into another state, but when i touch the sprite, nothing happens. Yet when I try the exact same thing with a cube it works fine. :-\
All the best
W
-
For some reason, it has now started working. What I did was change from polygon collider to custom box collider.
-
Possibly because you didn't have caps on the polygon collider? The poly collider by default doesn't have front or back caps. Fine in most game scenarios, not for UI.