AvatarSitResponse: Difference between revisions
Jump to navigation
Jump to search
Cube Linden (talk | contribs) mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{ProtocolNav}} | {{ProtocolNav}} | ||
==Message Layout== | ==Message Layout== | ||
| Line 22: | Line 21: | ||
</pre> | </pre> | ||
==Usage and Notes== | ==Usage and Notes== | ||
This packet is sent from the server to the client in response to a [[AgentRequestSit]] packet. | |||
SitObject: | |||
* ID - the ID of the prim to sit on | |||
SitTransform: | |||
* AutoPilot - whether the client should try to navigate to a good sitting position or not | |||
* SitPosition - the position in local coordinates to sit at | |||
* SitRotation - the rotation of the avatar | |||
* CameraEyeOffset - | |||
* CameraAtOffset - | |||
* ForceMouselook - whether to force the client to go into mouselook mode | |||
The client should respond to this packet with an [[AgentSit]] packet. | |||
[[Category:Messages]] | [[Category:Messages]] | ||
Latest revision as of 18:32, 15 November 2007
Message Layout
{
AvatarSitResponse High Trusted Zerocoded
{
SitObject Single
{ ID LLUUID }
}
{
SitTransform Single
{ AutoPilot BOOL }
{ SitPosition LLVector3 }
{ SitRotation LLQuaternion }
{ CameraEyeOffset LLVector3 }
{ CameraAtOffset LLVector3 }
{ ForceMouselook BOOL }
}
}
Usage and Notes
This packet is sent from the server to the client in response to a AgentRequestSit packet.
SitObject:
- ID - the ID of the prim to sit on
SitTransform:
- AutoPilot - whether the client should try to navigate to a good sitting position or not
- SitPosition - the position in local coordinates to sit at
- SitRotation - the rotation of the avatar
- CameraEyeOffset -
- CameraAtOffset -
- ForceMouselook - whether to force the client to go into mouselook mode
The client should respond to this packet with an AgentSit packet.