Moving away from an explosion!!!
treellane
Member Posts: 0
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
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
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.