Hi All
first of all, i want to thank Omer Emad for his great AI stuff.
I have made a TMove class that looks like Omer Demo,so what this class offer for us?
you can attach it to any node that you normally created,so you still manipulate your node as usual,after that
you can scane the around area for a specific target node by using ScaneArea(target,Redius) Function ,
the redius parameter is the distance for our node and the desired Area, if we found it the then we start to
move forward to that target node by using MoveForward(speed) function , then we test the distance between
our node and target node ,if it is less than 30 we start to attak the target node.
see it in the wiki
http://www.irrforge.org/index.php/AI_Class_For_Irrlicht
here is a screen shots,the first is before seeing the target node,and the second after seeing the target node and start to move frowared to it.
AI Class For Irrlicht
-
- Posts: 518
- Joined: Tue Mar 29, 2005 9:02 pm
- Location: Alex,Egypt
- Contact:
AI Class For Irrlicht
Magic 2d Library For Irrlicht : http://www.freewebs.com/bcxgl/index.htm
http://www.freewebs.com/bcxdx/index.htm
http://groups.yahoo.com/group/bcxdxc/
http://www.freewebs.com/bcxdx/index.htm
http://groups.yahoo.com/group/bcxdxc/