playMaker

Author Topic: 2d Toolkit and TouchObject 2D event not working  (Read 1802 times)

indy2005

  • Playmaker Newbie
  • *
  • Posts: 5
2d Toolkit and TouchObject 2D event not working
« on: March 11, 2014, 07:09:58 PM »
Hi,

How do I use TouchObject 2D event to work with 2d toolkit sprites?

I have added a box collider to the sprite via 2D Toolkit, which I can see in the inspector, but Touch Began never get triggered.

Regards

i

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: 2d Toolkit and TouchObject 2D event not working
« Reply #1 on: March 12, 2014, 08:34:45 AM »
Hi,

 Where does "TouchObject 2D" action come from?

bye,

 Jean

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: 2d Toolkit and TouchObject 2D event not working
« Reply #2 on: March 12, 2014, 02:06:44 PM »
Share a picture of your FSM
Is more easy to help you like that.

Note: 2D toolkit use really a 3D collider (X,Y,Z axis). When you make a FSM on a sprite (2D toolkit) try to use a 3D collision, triggers etc.

i'm not sure... 2D action of playmaker only work with sprite native of Unity 4.3.X (?)

Check this: https://hutonggames.fogbugz.com/default.asp?W717