playMaker

Author Topic: Change object after an event  (Read 1300 times)

PlaymakerNovice

  • Playmaker Newbie
  • *
  • Posts: 18
Change object after an event
« on: October 19, 2015, 01:03:36 PM »
I have an object, lets call it X. If X collides with another object, prefab Y, I want prefab Y to be gone but have prefab Z, another object, to replace it in its position. How would I go about doing this?

Nextruler

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Change object after an event
« Reply #1 on: October 19, 2015, 02:41:58 PM »
So I have a working version of what you described and have got it set up as you described in your message, I am new to all this so if you have any questions I will do my best to explain and I am sure there is a more efficient way to do this.

The FSM was attached to the prefab Y from your example and Object X has Object X as its collision tag.

I hope this helps you a bit and if not sorry to have wasted your time but trying to get better with all this.