Revision: 2556
          http://smartbody.svn.sourceforge.net/smartbody/?rev=2556&view=rev
Author:   arishapiro
Date:     2011-10-12 23:28:52 +0000 (Wed, 12 Oct 2011)
Log Message:
-----------
Added additional function to Python's NVBG for minibrain. Minibrain needs to be 
turned on to use (via: char <name> minibrain on).
Example:


class N(Nvbg):
   def execute(self, character, recipient, messageId, xml):
      # do something here
      return True

   def objectEvent(self, character, name, isAnimate, position, velocity, 
relativePosition, relativeVelocity)
      # do something here


n = N()
d = getCharacter("doctor")
d.setNvbg(n)

Added 'getHeight' to character.

Modified Paths:
--------------
    trunk/core/smartbody/smartbody-lib/src/sbm/MiniBrain.cpp
    trunk/core/smartbody/smartbody-lib/src/sbm/MiniBrain.h
    trunk/core/smartbody/smartbody-lib/src/sbm/SbmPython.cpp

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Smartbody-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartbody-svn

Reply via email to