<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢ÈíÑźÚ
}
--></style>
</head>
<body class='hmmessage'>
Thanks for the reply. <div><div><br></div><div>i'm now using a teleport trick  to rotate the avatar........ teleport to the same position but with different   LookAt,.    It's stupid but it's the only resolve i can  figure out.....</div><div><br></div><div><br></div><div><br></div><br>> Date: Thu, 29 Jul 2010 13:43:33 -0400<br>> From: teravus@gmail.com<br>> To: opensim-users@lists.berlios.de<br>> Subject: Re: [Opensim-users] rotate the avatar<br>> <br>> In the update, you must provide the bodyrotation quaternion.    The<br>> rotation of the avatar is mostly a client side item.   The viewer<br>> normally provides that information on each update and the update is<br>> processed using the bodyrotation as the user's local axis frame for<br>> 'forward, backward, etc.'   When the updates go out to other people<br>> about your avatar's rotation they also include the last bodyrotation<br>> provided by your client.   Other people's clients then probably slerp<br>> the two rotations to get a smooth rotational movement.<br>> <br>> Regards<br>> <br>> Teravus<br>> <br>> 2010/7/29 QUcupid <cupid_qu@hotmail.com>:<br>> > Hi,   i'm writing code for controlling the avatar with balance board.<br>> > Anyone can told me where can i change the headrotation or bodyrotation?<br>> > For moving forward and backward or any other movement like SIT_ON_GROUND,<br>> > FLY ,  i'm using the ANGENTMANAGER.CONTROLFLAGS,   but it seems that the<br>> > controlflags doesn't work with the headrotation or bodyrotation.<br>> > many thanks<br>> > _______________________________________________<br>> > Opensim-users mailing list<br>> > Opensim-users@lists.berlios.de<br>> > https://lists.berlios.de/mailman/listinfo/opensim-users<br>> ><br>> ><br>> _______________________________________________<br>> Opensim-users mailing list<br>> Opensim-users@lists.berlios.de<br>> https://lists.berlios.de/mailman/listinfo/opensim-users<br></div>                                           </body>
</html>