playMaker

Author Topic: how to script matching materials by colider?  (Read 1064 times)

ehsan.amiri

  • Playmaker Newbie
  • *
  • Posts: 4
how to script matching materials by colider?
« on: February 23, 2016, 12:53:27 PM »
Hello

i need some help to complete my script.
I have 4 objects that their color changes randomly so
i want when player get into their colider if their material match add 1 score and if not
destroy the player.

thank you very much.

Chizzler

  • Junior Playmaker
  • **
  • Posts: 67
Re: how to script matching materials by colider?
« Reply #1 on: February 23, 2016, 03:18:01 PM »
There's an  action on the Ecosystem called "Material Compare". you can use this when the player enters the collider to test if their materials match.