Thursday 24 March 2011

OK so this is interesting

Scene.TryGetScenePresence goes through a bunch of wrapper calls but ultimately calls ScenePresence.AddToPhysicalScene.

What's interesting about that is that it checks if it's a physics actor. If it's null then it doesn't try to add the avatar to the physical scene. But if it *is* a physics actor then it checks to see if it's NOT a child agent. So that suggests that the AgentCircuitData.child has to be set to false in order to add the av to the scene.

If all goes well in SetAppearance it ultimately calls m_controllingClient.SendAvatarDataImmediate.

In our case our version of the client doesn't have an implementation of SendAvatarDataImmediate.

The wrapper function is there but there's no code in it. I wonder if that's the code we need to look at in other IClient interface implementations.

No comments:

Post a Comment