playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
2d toolkt sprite can not work with Touch Object Event
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: 2d toolkt sprite can not work with Touch Object Event (Read 3492 times)
jasonshow
Playmaker Newbie
Posts: 8
2d toolkt sprite can not work with Touch Object Event
«
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!
Logged
kiriri
Hero Member
Posts: 506
Re: 2d toolkt sprite can not work with Touch Object Event
«
Reply #1 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..
Logged
Best,
Sven
jasonshow
Playmaker Newbie
Posts: 8
Re: 2d toolkt sprite can not work with Touch Object Event
«
Reply #2 on:
December 05, 2012, 01:40:58 PM »
yes , I add a collider to it , but still not work.
Logged
kiriri
Hero Member
Posts: 506
Re: 2d toolkt sprite can not work with Touch Object Event
«
Reply #3 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?
Logged
Best,
Sven
will_brett
Junior Playmaker
Posts: 72
Re: 2d toolkt sprite can not work with Touch Object Event
«
Reply #4 on:
February 17, 2013, 07:27:38 PM »
Old thread but I have this exact issue
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
2d toolkt sprite can not work with Touch Object Event