Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: detomato on November 01, 2013, 01:05:06 PM
-
Hi, I was planning to do something like this:
But I have no idea where to start. Basically what I want is, how to cycle through a set of 5-6 textures of an object under the crosshair.
Would it possible and easier to do it with Playmaker?
Thanks in advance. Much appreciate!
-
Hi,
-- when the user click, youperform a ray cast from the center of the screen, and you send a global event "CHANGE" or something to the gameobject being hit.
-- for each "live" gamobject, implement a FSM using this "CHANGE" global event as a global transition, and perform any color change or material change when you receive that global event.
Does that make sense? Don't over think this, it's very simple actually.
bye,
Jean