Moving away from an explosion!!!

Hi all,

I have 2 actors.... actor A explodes, and i want actor B to move directly away from the explosion. I have actor B moving, but cant figure out how to get it to move away from the explosion (as apposed to just moving!).

Can someone tell be which behaviour/setting i need to insert/adjust? Im sure its simple, i just cant see it!

Many thinks :)

Comments

  • UtopianGamesUtopianGames Member Posts: 5,692
    edited March 2014
    Heres a new one I'm working on atm and I'm using VectorToAngle and I'm using the following method.

    Plant bomb which sets up the blast x & y... press detonate... spawn blast at x & y... if block overlaps with blast change its velocity to vectorToAngle( game.Blast1X - self.Position.X , game.Blast1Y - self.Position.Y )+180



    Darren.
  • WbokoWboko Tennessee, USAMember, PRO Posts: 621
    I just have Actor A explodes have it spawn a new actor that grows with a collision set to push actor B away and than destroy itself after something like .5 sec....but that is my simple way...
Sign In or Register to comment.