playMaker

Author Topic: Touch & drag object Unity 4.3 2D  (Read 5757 times)

Paul_Whackala

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Touch & drag object Unity 4.3 2D
« on: March 01, 2014, 02:24:13 PM »
Hi,
Im new to Playmaker and following the tutorials for IOS on Youtube

http://www.youtube.com/watch?v=DFmwLGhfWzY

Im trying to drag a 2D game object following the tutorial and i get this error
"GameObject requires Collider Component!
[Click to Add Required Component]"

my GameObject has a 2D collider attached? i even tried attaching a regular one, but it wouldn't let me?

Is their a fix for this?

Thanks


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12417
  • Official Playmaker Support
    • View Profile
Re: Touch & drag object Unity 4.3 2D
« Reply #1 on: March 04, 2014, 05:07:14 AM »
Hi,
 
You can't mix up 3d physics and 2d physics. this is maybe the issue here?

bye,

 Jean

Paul_Whackala

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Re: Touch & drag object Unity 4.3 2D
« Reply #2 on: March 05, 2014, 02:24:57 AM »
Hi Jeanfaber,
Yep i think your right so what is the workaround for this or is their a compleatly different way to use playmaker with 2D gameplay?

Thanks

Paul

sharp1959

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Touch & drag object Unity 4.3 2D
« Reply #3 on: March 05, 2014, 10:16:51 AM »
Hi Paul,

Did you install the Unity 2d (Physics package)?

Here:  https://hutonggames.fogbugz.com/default.asp?W1150


Paul_Whackala

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Re: Touch & drag object Unity 4.3 2D
« Reply #4 on: March 06, 2014, 03:51:03 AM »
Nope i did not thanks a million that should sort me out.
Funny i did update to the latest Playmaker version 1.7.7 before i started the project? Thanks for the link ill get back to work on it over the week end, and let you know how i get on.

paul

Paul_Whackala

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Re: Touch & drag object Unity 4.3 2D
« Reply #5 on: March 06, 2014, 12:29:42 PM »
Installed the add on and all working thanks for the direction

 :-*

sharp1959

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Touch & drag object Unity 4.3 2D
« Reply #6 on: March 08, 2014, 12:37:34 PM »
Hi Paul,

No problem glad you sorted it out...now on with your games....:)

Happy Playmaking...

Larry