Comment 2 for bug 1546191

Revision history for this message
Edward Keenan (edwardk) wrote :

James,

It is connected with the camera.

var worldLocation = viewer.Camera.CameraWorldLocation;

And I believe this is the key calculation which is called from the Update() process. The above is also part of the Update() process.

var temp = new WorldLocation(worldLocation.TileX, worldLocation.TileZ, worldLocation.Location.X + (float)((Viewer.Random.NextDouble() - 0.3) * ParticleBoxLengthM), 0, worldLocation.Location.Z + (float)((Viewer.Random.NextDouble() - 0.3) * ParticleBoxWidthM));