PlayMaker Help & Tips > PlayMaker Help

2d toolkt sprite can not work with Touch Object Event

(1/1)

jasonshow:
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!

kiriri:
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..

jasonshow:
yes , I add a collider to it , but still not work.

kiriri:
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?

will_brett:
Old thread but I have this exact issue

Navigation

[0] Message Index

Go to full version