Game Development Community

Integrating SharpSteer into Torque X

by Jared Smith · in Torque X 2D · 05/18/2009 (11:19 am) · 2 replies

Hi, just some fair warning that I'm pretty green with programming because my background is art. I've recently been looking into how I would get a pathfinding solution into torque x and after some searching found out about SharpSteer a C# port of OpenSteer. After an initial glace at some of the code and the documentation the main entry point into the library seems to be the PlugIn abstract class and the SimpleVehicle class. The problem I'm seeing atm is that the PlugIn abstract class needs to implement a Redraw() method. I'm assuming I can implement the method into a component and have it do nothing and only worry about doing the update method stuff in the ProcessTick method of a component.

Just some links for reference.

www.codeplex.com/SharpSteer
opensteer.sourceforge.net/doc.html

#1
05/19/2009 (12:20 am)
After spending some time with it today I have a fairly basic integration of SharpSteer. I posted a goofy video which you can checkout on my blog.

www.rustywidget.com
#2
05/19/2009 (5:18 pm)
Hey Jared,

Pretty cool. I just had to add, I love your drawings, those are definetly awesome :) Now I just need to find an artists to do my game assets :)