Revision: 2730
http://smartbody.svn.sourceforge.net/smartbody/?rev=2730&view=rev
Author: arishapiro
Date: 2011-12-20 01:54:17 +0000 (Tue, 20 Dec 2011)
Log Message:
-----------
SBSteeringManager now extends SBService (although not a 'proper' service yet)
so that attributes are now accessible.
Grid size can now be changed by setting the following attributes on the
SBSteeringManager:
In Python:
steer = scene.getSteerManager()
steer.setDoubleAttribute("gridDatabaseOptions.gridSizeX", 200)
steer.setDoubleAttribute("gridDatabaseOptions.gridSizeZ", 200)
then steering can be started/stopped and the new values will be loaded:
steer.stop()
steer.start()
Other attributes can be set here:
steer.setIntAttribute("gridDatabaseOptions.numGridCellsX", 70)
steer.setIntAttribute("gridDatabaseOptions.numGridCellsZ", 70)
steer.setIntAttribute("gridDatabaseOptions.maxItemsPerGridCell", 7)
steer.setIntAttribute("initialConditions.radius", .4)
Modified Paths:
--------------
trunk/core/smartbody/sbm/src/fltk_viewer.cpp
trunk/core/smartbody/sbm/src/resourceViewer/ResourceWindow.cpp
trunk/core/smartbody/sbm/src/sbm_main.cpp
trunk/core/smartbody/smartbody-lib/src/sbm/MeCtReachEngine.cpp
trunk/core/smartbody/smartbody-lib/src/sbm/SBJoint.cpp
trunk/core/smartbody/smartbody-lib/src/sbm/SBJoint.h
trunk/core/smartbody/smartbody-lib/src/sbm/SBObject.cpp
trunk/core/smartbody/smartbody-lib/src/sbm/SBObject.h
trunk/core/smartbody/smartbody-lib/src/sbm/SBPython.cpp
trunk/core/smartbody/smartbody-lib/src/sbm/SBSteerManager.cpp
trunk/core/smartbody/smartbody-lib/src/sbm/SBSteerManager.h
trunk/core/smartbody/smartbody-lib/src/sbm/SteeringAgent.cpp
trunk/core/smartbody/smartbody-lib/src/sbm/SteeringAgent.h
trunk/core/smartbody/smartbody-lib/src/sbm/bml_locomotion.cpp
trunk/core/smartbody/smartbody-lib/src/sbm/mcontrol_callbacks.cpp
trunk/core/smartbody/smartbody-lib/src/sbm/mcontrol_util.cpp
trunk/core/smartbody/smartbody-lib/src/sbm/mcontrol_util.h
trunk/core/smartbody/smartbody-lib/src/sbm/me_ct_example_body_reach.cpp
trunk/core/smartbody/smartbody-lib/src/sbm/sbm_character.cpp
trunk/core/smartbody/smartbody-lib/src/sbm/sbm_pawn.cpp
trunk/core/smartbody/smartbody-lib/src/sbm/sbm_pawn.hpp
trunk/core/smartbody/steersuite-1.3/simpleAI/build/win32/simpleAI.vcproj
trunk/data/sbm-common/scripts/default-init.py
trunk/data/sbm-common/scripts/many-init.py
trunk/vs2008.sln
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Smartbody-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartbody-svn