playMaker

Author Topic: question about randomising movement  (Read 1745 times)

dottim

  • Playmaker Newbie
  • *
  • Posts: 7
  • lost in space
    • The Quantum Principle
question about randomising movement
« on: February 08, 2014, 11:42:32 AM »
Hello all!

I'm pretty new to unity and playmaker and I'm creating a little game and in my game I have tracking missiles set up (they work perfectly by the way ;))

now I would love it, if one of my missile launchers, the one that launches a burst of missiles all at once, if the launched missiles would move very randomly and erratically towards their targets, first of all the fool point defence and secondly because it would look very cool imo :)

if anyone can give me some tips on how to achieve this effect in playmaker then I would be very happy! :) thanks in advance!

1982

  • Junior Playmaker
  • **
  • Posts: 71
Re: question about randomising movement
« Reply #1 on: February 08, 2014, 01:37:58 PM »
I'd try something where I would make the missile move towards empty gameobject (target). That target gameobject would then randomize it's location with set time intervals.

Some actions you might want to look at:
"Move towards"
"Random float"
"Set position"

dottim

  • Playmaker Newbie
  • *
  • Posts: 7
  • lost in space
    • The Quantum Principle
Re: question about randomising movement
« Reply #2 on: February 09, 2014, 03:45:52 PM »
yes that is one possibility, I'll look into it, thanks!

if anyone has a different idea let me know! ;)