Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: jasonshow on December 05, 2012, 12:55:59 PM

Title: 2d toolkt sprite can not work with Touch Object Event
Post by: jasonshow on December 05, 2012, 12:55:59 PM
I make a sprite with 2d toolkit, and then add "Touch Object Event" action to it.
but not work !
I tested with normal cube gameobject,the touch event is work fine!

can anyone tell me how to fix it ?

thanks!
Title: Re: 2d toolkt sprite can not work with Touch Object Event
Post by: kiriri on December 05, 2012, 01:15:48 PM
a touch object action is in its' core nothing but a raycast. So if your sprite doesn't have a collider on it, it won't be noticed by screen pick, mouse pick, touch object, raycast etc..
Title: Re: 2d toolkt sprite can not work with Touch Object Event
Post by: jasonshow on December 05, 2012, 01:40:58 PM
yes , I add a collider to it , but still not work.
Title: Re: 2d toolkt sprite can not work with Touch Object Event
Post by: kiriri on December 06, 2012, 05:07:49 AM
does your sprite move at runtime? I have noticed some problems with 2D toolkit and collision on moving objects. Otherwise this sounds like a mystery :S Can you share a test project where this happens?
Title: Re: 2d toolkt sprite can not work with Touch Object Event
Post by: will_brett on February 17, 2013, 07:27:38 PM
Old thread but I have this exact issue