PandaSteer 2

Right, uploaded a new version of the whole thing: Download.

The download link in my first post has been updated too.

This new release includes all of ynjh_jo’s improvements up to this point, plus:

  • Now supports mouse-clicking. Click event is passed to plugin. Some of the plugins allow you to control a character by clicking, others ignore it. Picking code is taken from Tiptoe, Cyan and ynjh_jo elsewhere on this forum.

  • For some steering behaviours the target that the character is steering towards is drawn (as an orange jack-o-lantern). This is achieved by merging class Marker from some code that Tiptoe, Cyan and ynjh_jo worked on elsewhere in this forum

  • Plugins are now loaded in order of filename, so you can control the plugin order by changing their filenames

  • Added pandaSteerPlugin.py with ‘abstract’ class PandaSteerPlugin that all plugins should inherit from (just structural cleanup really)

  • Other minor changes and bugfixes

  • Correction of some outdated comments

I’m still working on porting the obstacle avoidance code.

Many thanks to everyone that’s given tips or enhancements or commented on IRC, or whose code I’ve made use of. Wouldn’t be here without the Panda3D community! :slight_smile: