A plugin-based, reusable implementation of steering behaviours for autonomous characters for the game engine Panda3D. Also includes some simple terrain generation code based on the diamond-square algorithm and Perlin noise. This code requires Panda3D to be installed on your system. The 3D models included with the download are from the free set that you can download from panda3d.org.
Video and screenshots: http://seanh.sdfeu.org/pandasteer/
pandaSteer.py for a plugin-based steering behaviours demo.
terrain.py for a demo of the terrain generator.
scene.py for a demo 'game' scene combining the terrain generator
and steering behaviours.
The code was originally posted to a thread on the Panda3D forums. Thanks to Panda3D forum members ynjh_jo, Thomas_egi, pro-rsoft, drwr, cyan, mavasher, Ffeuuell, zuck and astelix for contributions.
Copyright (c) 2007 Sean Hammond
This file is part of PandaSteer. PandaSteer is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. PandaSteer is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with PandaSteer; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA