Playmaker Forum

PlayMaker Help & Tips => iOS Help => Topic started by: Paul_Whackala on March 01, 2014, 04:24:13 PM

Title: Touch & drag object Unity 4.3 2D
Post by: Paul_Whackala on March 01, 2014, 04:24:13 PM
Hi,
Im new to Playmaker and following the tutorials for IOS on Youtube


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

Title: Re: Touch & drag object Unity 4.3 2D
Post by: jeanfabre on March 04, 2014, 07:07:14 AM
Hi,
 
You can't mix up 3d physics and 2d physics. this is maybe the issue here?

bye,

 Jean
Title: Re: Touch & drag object Unity 4.3 2D
Post by: Paul_Whackala on March 05, 2014, 04: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
Title: Re: Touch & drag object Unity 4.3 2D
Post by: sharp1959 on March 05, 2014, 12:16:51 PM
Hi Paul,

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

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

Title: Re: Touch & drag object Unity 4.3 2D
Post by: Paul_Whackala on March 06, 2014, 05: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
Title: Re: Touch & drag object Unity 4.3 2D
Post by: Paul_Whackala on March 06, 2014, 02:29:42 PM
Installed the add on and all working thanks for the direction

 :-*
Title: Re: Touch & drag object Unity 4.3 2D
Post by: sharp1959 on March 08, 2014, 02:37:34 PM
Hi Paul,

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

Happy Playmaking...

Larry