playMaker

Author Topic: Trigger2D  (Read 1434 times)

failtruckz

  • Playmaker Newbie
  • *
  • Posts: 8
Trigger2D
« on: January 16, 2014, 07:47:27 AM »
Hi,

Im wanting to create an FSM that add's and remove game objects to an array based on whether or not the are inside a collider.  My Player GameObject has RigidBody2D (is Kinematic = true)  component and a Box Collider 2D component.  The objects I wish to add to the array are set up the same. 

I cant seem to the the Trigger Event 2D nor Collision Event 2D actions to work (ie add the gameobject to a variable, et alone an array) at all with this setup.  Am I doing something fundamentally wrong?

Cheers

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Trigger2D
« Reply #1 on: January 24, 2014, 07:58:14 AM »
Hi,

 Is kinematic is in the way of trigger events unfortunalty, that won't work if is kinematic is set to true.

bye,

 Jean