playMaker

Author Topic: Destroy Obj with mouse down  (Read 1970 times)

miketolsa

  • Playmaker Newbie
  • *
  • Posts: 22
  • Just love playmaker !!!
    • 4Buffs Productions
Destroy Obj with mouse down
« on: July 14, 2015, 01:55:36 AM »
I have tried all combination to destroy cube or a prefab ?

Method - using camera (FSM ) get mouse down > Destroy Object (prefab)

Method 2 - Cube (FSM) get mouse down > Trigger Event (to chk collide tag & send event) > Self destroy

Now both the above method are not working some how .....

I would prefer the second method but some how its not working can anyone me figure out as what I am doing wrong in the second method ?

miketolsa

  • Playmaker Newbie
  • *
  • Posts: 22
  • Just love playmaker !!!
    • 4Buffs Productions
Re: Destroy Obj with mouse down
« Reply #1 on: July 14, 2015, 04:46:03 AM »
Finally got a way to destroy the object itself using

GameObject - FSM > Get mouse button (right click) > using global event (custom event) to destroy the object itself when clicked .

but the problem is when I am trying to clone this object using prefab & create object action then what it does is when right clicked anywhere it would destroy all the cloned objects at once using the same method ?

can anyone help me with this ?