playMaker

Author Topic: How to create a following object  (Read 1614 times)

vonpopov

  • Junior Playmaker
  • **
  • Posts: 98
How to create a following object
« on: April 26, 2014, 10:54:04 AM »
Hi guyz,

Today, i am wondering how to create a following object.
My main purpose, is to make a tracking missile.

So i just need tips (not the whole thing), before doing it. (what kind of actions set, etc)

1/ I just need to know the best way to make an object following another
2/ how to make a target selection
3/ How to add some fuziness/crazyness in the missile trajectory.


Thanks you ! :D





neowings

  • Playmaker Newbie
  • *
  • Posts: 25
Re: How to create a following object
« Reply #1 on: April 26, 2014, 10:45:02 PM »

I suggest use PlayMaker actions such as

1. 'MoveTowards' -> this makes your object keep following a target object.
2. in my case, I use 'GetRandomObject', get object by 'tag' and store in
global GameObject Variables.