Hello,  i'm newbie for opensim  :)I'm writing a project that using the balance 
board to control the avatar. i  add a new function in ScenePresence,cs     :   
public void BBControl(int i )     i= 1  then move forwardi= 2  then turn left 
(just like press the arrow key <-- )i= 3  the turn right ( like arrow key -->)
 i tried to set the  ControlFlags in the function ;   if i=1    ControlFlags= 
(uint) (AgentManager.ControlFlags.AGENT_CONTROL_AT_POS | 
AgentManager.ControlFlags .AGENT_CONTROL_FAST_AT);i=
if  i=2  ControlFlags = (uint) (AgentManager.ControlFlags.AGENT_CONTROL_YAW_NEG)
if  i=3  ControlFlags= = (uint)(AgentManager.ControlFlags.AGENT_CONTROL_YAW_POS)
it works now great for the forward movement,  but it did't work for  rotation.  
 i thought if i change the ControlFlags , it just like i pressed the arrow 
keys,  but it did't work.   Can anybody help me with this problem ???

thanks                                    
_________________________________________________________________
MSN十年回馈,每位用户可免费获得价值25元的卡巴斯基反病毒软件2010激活码,快来领取!
http://kaba.msn.com.cn/?k=1
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to