playMaker

Author Topic: Chase/evade question [SOLVED]  (Read 2441 times)

nicosio

  • Playmaker Newbie
  • *
  • Posts: 8
Chase/evade question [SOLVED]
« on: December 09, 2011, 05:53:01 PM »
Hi!
I try to do a game object that will chase and evade(escape from) the player. I got no problem with the chase, it turns toward the player and moves to get it. You can look at the actions on the enclosed image. I have problems with the evade, because I don't know how to turn the object away from the player.

Any ideas?

Thanks!
« Last Edit: December 13, 2011, 04:48:53 PM by alexchouls »

nicosio

  • Playmaker Newbie
  • *
  • Posts: 8
Re: Chase/evade question
« Reply #1 on: December 09, 2011, 11:29:52 PM »
I think I found a way to solve it. I attach a picture of the actions, so maybe it can be helpful to someone else.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Chase/evade question
« Reply #2 on: December 13, 2011, 04:48:40 PM »
Glad you got it working. I'll add some mid-level actions so you don't have to string so many low-level actions together to do this. E.g., A Get Vector Towards action that takes 2 Game Objects.