mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* Added code to capture the draw distance setting from the client.
* Added a support function to InnerScene to calculate the distance between two vectors.
This commit is contained in:
@@ -364,7 +364,10 @@ namespace SimpleApp
|
||||
|
||||
if (OnAgentUpdate != null)
|
||||
{
|
||||
OnAgentUpdate(this, movementFlag, bodyDirection);
|
||||
AgentUpdatePacket pack = new AgentUpdatePacket();
|
||||
pack.AgentData.ControlFlags = movementFlag;
|
||||
pack.AgentData.BodyRotation = bodyDirection;
|
||||
OnAgentUpdate(this, pack);
|
||||
}
|
||||
if (flyState == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user