Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: missakmissak on February 13, 2014, 05:12:46 AM

Title: Polygon collider 2d[SOLVED]
Post by: missakmissak on February 13, 2014, 05:12:46 AM
Hello,
I am working 2d project in unity and I have to detect collisions in the game.
However when I put polygon or any other 2d colliders, and when I go to put collision event in playmaker it's giving error saying "Owner requires rigidbody or a collider".
Does 2d colliders work in playmaker?
Title: Re: Polygon collider 2d
Post by: jeanfabre on February 13, 2014, 06:32:56 AM
Hi,

Yes they do, but you need to download this add on package that will give the actions required to work with Unity 2d physics.

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

Then you should use Collision2dEvent instead as collisionEvent only works with 3d physics

bye,

 Jean
Title: Re: Polygon collider 2d
Post by: missakmissak on February 13, 2014, 07:04:38 AM
Thanks