Region crossings
From OpenSimulator
(Difference between revisions)
Line 3: | Line 3: | ||
* Every OpenSimulator frame (approximately every 89ms), every avatar is checked to see whether it has crossed into a neighbouring region (currently in ScenePresence.CheckForBorderCrossing(). | * Every OpenSimulator frame (approximately every 89ms), every avatar is checked to see whether it has crossed into a neighbouring region (currently in ScenePresence.CheckForBorderCrossing(). | ||
** This check is done by extrapolating the avatar's position in the next 100ms at its current heading and velocity | ** This check is done by extrapolating the avatar's position in the next 100ms at its current heading and velocity | ||
+ | * If the extrapolation shows the avatar moving into a new region, then IEntityTransferModule.Cross() is triggered to initiate the cross process. |
Revision as of 11:10, 28 November 2014
This section is incomplete
- Every OpenSimulator frame (approximately every 89ms), every avatar is checked to see whether it has crossed into a neighbouring region (currently in ScenePresence.CheckForBorderCrossing().
- This check is done by extrapolating the avatar's position in the next 100ms at its current heading and velocity
- If the extrapolation shows the avatar moving into a new region, then IEntityTransferModule.Cross() is triggered to initiate the cross process.