playMaker

Author Topic: Action Fsm to click an prefab and send to other location different[SOLVED]  (Read 1321 times)

MatiasHarder

  • Junior Playmaker
  • **
  • Posts: 51
Action Fsm to click an prefab and send to other location different

Hello everyone, a long time without communicating with you!

I would like to know how I can click on a prefab and send it alone to a different location where it is.

Example:

Before clicking

https://i.gyazo.com/673d66cd1a269d6e566778da68244b11.png

After clicking

https://i.gyazo.com/55e50b63d3b4ef13f98fcb3261ddc0ad.png

As you see in the image after clicking the prefab changes position (as a teleportation) as when goku is teleported from one place to another.

I hope you can help me, thank you very much and sorry my bad english.
« Last Edit: February 26, 2018, 12:49:25 AM by jeanfabre »

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Action Fsm to click an prefab and send to other location different
« Reply #1 on: February 23, 2018, 02:25:46 AM »
Define what position would you like it to move to (XY), and when you click it (on mouse down) set position to desired coordinates.
Available for Playmaker work

MatiasHarder

  • Junior Playmaker
  • **
  • Posts: 51
Re: Action Fsm to click an prefab and send to other location different
« Reply #2 on: February 24, 2018, 08:31:55 PM »
Thanks you bro :D