playMaker

Author Topic: Polygon collider 2d[SOLVED]  (Read 3766 times)

missakmissak

  • Playmaker Newbie
  • *
  • Posts: 12
Polygon collider 2d[SOLVED]
« 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?
« Last Edit: February 13, 2014, 11:34:07 PM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Polygon collider 2d
« Reply #1 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

missakmissak

  • Playmaker Newbie
  • *
  • Posts: 12
Re: Polygon collider 2d
« Reply #2 on: February 13, 2014, 07:04:38 AM »
Thanks