AvatarSitResponse

From Second Life Wiki
Jump to navigation Jump to search

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.