Add method doc to SP.PhysicsCollisionUpdate() to make it clear that it's called continuously even where there are no collisions

iar_mods
Justin Clark-Casey (justincc) 2011-12-03 02:45:02 +00:00
parent a009871827
commit b66fe3e9ff
1 changed files with 4 additions and 0 deletions

View File

@ -3282,6 +3282,10 @@ namespace OpenSim.Region.Framework.Scenes
/// <summary> /// <summary>
/// Event called by the physics plugin to tell the avatar about a collision. /// Event called by the physics plugin to tell the avatar about a collision.
/// </summary> /// </summary>
/// <remarks>
/// This function is called continuously, even when there are no collisions which might be very inefficient.
/// However, we can't avoid this yet since some of this method might currently rely on being called every frame.
/// </remarks>
/// <param name="e"></param> /// <param name="e"></param>
public void PhysicsCollisionUpdate(EventArgs e) public void PhysicsCollisionUpdate(EventArgs e)
{ {