1 decade ago by hurik
i'm working on a steering behaviors plugin for impact. it is an early beta, but it would be very nice if there would be some people which are willing to help me.
first some information about steering behaviors:
- Craig Reynolds page: http://www.red3d.com/cwr/steer/
- Chapter 3 in "Programming Game AI by Example" by Mat Buckland: http://www.jblearning.com/Catalog/9781556220784/student/ (I'm using this nice book ...)
at the moment i have implemented:
- seek
- flee
- arrive (not working very well ...)
- wander
- wall avoidance
- flocking (separation, alignment and cohesion)
here a demo which uses wander, wall avoidance and flocking: http://www.andreasgiemza.de/javascript/impact-steering-behaviors/
edit: the example now also uses flee. the white triangles are sheeps and the red one is a wolf which isn't hunting, but when the sheeps get to near they flee.
the problem is that i have changed the entity update function, the calculation of the forces is a very sensible and i have to use very strange values to get a nice behavior. and there a lot of other problems to get this plugin in a nice shape so everyone can use it.
so if you want to help, contact me.
here is the github repo: https://github.com/hurik/impact-steering-behaviors
first some information about steering behaviors:
- Craig Reynolds page: http://www.red3d.com/cwr/steer/
- Chapter 3 in "Programming Game AI by Example" by Mat Buckland: http://www.jblearning.com/Catalog/9781556220784/student/ (I'm using this nice book ...)
at the moment i have implemented:
- seek
- flee
- arrive (not working very well ...)
- wander
- wall avoidance
- flocking (separation, alignment and cohesion)
here a demo which uses wander, wall avoidance and flocking: http://www.andreasgiemza.de/javascript/impact-steering-behaviors/
edit: the example now also uses flee. the white triangles are sheeps and the red one is a wolf which isn't hunting, but when the sheeps get to near they flee.
the problem is that i have changed the entity update function, the calculation of the forces is a very sensible and i have to use very strange values to get a nice behavior. and there a lot of other problems to get this plugin in a nice shape so everyone can use it.
so if you want to help, contact me.
here is the github repo: https://github.com/hurik/impact-steering-behaviors