Re: [libsecondlife-dev] ObjectUpdate.ObjectData help

2006-09-11 Thread Cory Ondrejka
They are sent as normalized quaternions, so we just send the first three values and compute the W component on the client.  Beware of attempting to find the square root of zero due to floating point precision.On Sep 11, 2006, at 1:52 PM, Tom Wilson wrote:Since the rotations in the client are displa

Re: [libsecondlife-dev] ObjectUpdate.ObjectData help

2006-09-11 Thread Tom Wilson
Since the rotations in the client are displayed and edited as yaw, twist, and roll, it makes sense that they're sent over the network that way. It sounds to me like the system is simply storing the number as sin(angle/2). If that's the case, we need to first convert to radians and then to degrees.