Opensteer and Irrlicht
-
dhenton9000
- Posts: 395
- Joined: Fri Apr 08, 2005 8:46 pm
Opensteer and Irrlicht
Anybody using OpenSteer for flocking and AI?
http://opensteer.sourceforge.net
http://opensteer.sourceforge.net
-
Guest
Actually, it's very useful. I'm using it to control a number of *searching* entities that can react to a *searchable* entity and it's working fairly well. Will it work with Irrlicht? I should as it's C++ oriented though I haven't gotten far enough along in my game development to look at full integration yet.
-
dhenton9000
- Posts: 395
- Joined: Fri Apr 08, 2005 8:46 pm
IntMain wrote:Actually, it's very useful. I'm using it to control a number of *searching* entities that can react to a *searchable* entity and it's working fairly well. Will it work with Irrlicht? I should as it's C++ oriented though I haven't gotten far enough along in my game development to look at full integration yet.
I've got it working with Newton,Irrlicht and the Opensteer code. Works like a champ. IntMain, if you aren't using it in Irrlicht, can I ask what you are using it in?
dude....
Yeh man, totally lets see some demo codeI've got it working with Newton,Irrlicht and the Opensteer code. Works like a champ. IntMain, if you aren't using it in Irrlicht, can I ask what you are using it in?
I have a nice thing going with newton and irrlicht together, but all I really did was improve the interface for the same stuff mercior had done.
I have been picking through opensteer for a while, learning how it works, but I havent had the time to tyr and actually slap it together.
The bit I'm most interested in is how you have handled obstacles. The only type of default obstacle supported in Opensteer is spherical, and I would want to make mesh-based obstacles. I figured I could hack up something maybe using irrlicht's triangle selecter to detect collisions, or even use my newton collisions(though that wouldnt work so well with mesh-based newton collisions).
My irrlicht-based projects have gone underground for now, but if you want, check out my webcomic instead! http://brokenboomerang.net
-
dhenton9000
- Posts: 395
- Joined: Fri Apr 08, 2005 8:46 pm
Well, its not too fancy, all it does is pull the forces from the Opensteer steer functions and apply them. The real accomplishment was getting it to compile. I'm going to do some work on collisions and then I'll put the demo up.
I did read the collision code and it seems that it looks to the edge or silloutte as a indicator to bypass, which means you'd need some way to determine the edge of your mesh.
I did read the collision code and it seems that it looks to the edge or silloutte as a indicator to bypass, which means you'd need some way to determine the edge of your mesh.
opensteer
i look forward to it 
My irrlicht-based projects have gone underground for now, but if you want, check out my webcomic instead! http://brokenboomerang.net
-
dhenton9000
- Posts: 395
- Joined: Fri Apr 08, 2005 8:46 pm
I've completed the demo and you can read about it here
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=10275
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=10275