Revision: 3612 http://smartbody.svn.sourceforge.net/smartbody/?rev=3612&view=rev Author: yuyuxu Date: 2012-07-26 00:30:47 +0000 (Thu, 26 Jul 2012) Log Message: ----------- Check in the steering code that handles terrain mode.
Usage setBoolAttribute("steering.terrainMode", True) Note that usually under terrain mode, world offset on y direction in specific blend should not be reset. So use the following command: blend = blendManager.getBlend("locomotion") blend.setIncrementWorldOffsetY(True) Still need an API for user to pass in terrain information if they use their own terrain system. Modified Paths: -------------- trunk/core/smartbody/smartbody-lib/src/controllers/me_ct_param_animation_data.cpp trunk/core/smartbody/smartbody-lib/src/controllers/me_ct_param_animation_data.h trunk/core/smartbody/smartbody-lib/src/controllers/me_ct_param_animation_utilities.cpp trunk/core/smartbody/smartbody-lib/src/sb/SBAnimationState.cpp trunk/core/smartbody/smartbody-lib/src/sb/SBAnimationState.h trunk/core/smartbody/smartbody-lib/src/sb/SBPython.cpp 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/mcontrol_callbacks.cpp This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Smartbody-svn mailing list Smartbody-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/smartbody-svn