PDA

View Full Version : Collision avoidance in 2d



06-14-2004, 01:47 PM
Hello. Is there any way to do simple collision avoidance for a system where one object is being chased by two others? The "prey" should be avoiding the "two predators". Two dimensional would be preferred. Thank you! Here's the list of variables I'm using...(for reference)
Predator 1's x-coord: alpha
Predator 1's y-coord: beta
Predator 1's angle (from x-axis, angle>0): theta
Predator 2's x-coord: iota
Predator 2's y-coord: kappa
Predator 2's angle (from x-axis, angle>0): delta
Prey's x-coord: epsilon
Prey's y-coord: zeta
Prey's angle (from x-axis, angle>0): eta

06-14-2004, 02:31 PM
if you're going to post in a gl forum, you should at least mention gl somewhere in your post. as interesting as collision detection is, this isn't the place for it.

06-14-2004, 04:03 PM
*hands up* ok, I'll take it elsewhere. Thanks anyway