[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensim-users
Subject:    [Opensim-users] rotate the avatar
From:       cupid_qu () hotmail ! com (QUcupid)
Date:       2010-07-29 18:22:29
Message-ID: SNT125-W3737B44A9D3DEAB3677655FFA90 () phx ! gbl
[Download RAW message or body]


Thanks for the reply. 
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.....



> Date: Thu, 29 Jul 2010 13:43:33 -0400
> From: teravus at gmail.com
> To: opensim-users at lists.berlios.de
> Subject: Re: [Opensim-users] rotate the avatar
> 
> In the update, you must provide the bodyrotation quaternion.    The
> rotation of the avatar is mostly a client side item.   The viewer
> normally provides that information on each update and the update is
> processed using the bodyrotation as the user's local axis frame for
> 'forward, backward, etc.'   When the updates go out to other people
> about your avatar's rotation they also include the last bodyrotation
> provided by your client.   Other people's clients then probably slerp
> the two rotations to get a smooth rotational movement.
> 
> Regards
> 
> Teravus
> 
> 2010/7/29 QUcupid <cupid_qu at hotmail.com>:
> > Hi,   i'm writing code for controlling the avatar with balance board.
> > Anyone can told me where can i change the headrotation or bodyrotation?
> > For moving forward and backward or any other movement like SIT_ON_GROUND,
> > FLY ,  i'm using the ANGENTMANAGER.CONTROLFLAGS,   but it seems that the
> > controlflags doesn't work with the headrotation or bodyrotation.
> > many thanks
> > _______________________________________________
> > Opensim-users mailing list
> > Opensim-users at lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/opensim-users
> > 
> > 
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.berlios.de/pipermail/opensim-users/attachments/20100730/3ad83a58/attachment.html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic