mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
Update SP.PhysicsCollisionUpdate() doc.
It might be inefficient, but there are collisions every frame if the avatar is walking/standing on the ground or a prim surface
This commit is contained in:
@@ -3283,8 +3283,11 @@ namespace OpenSim.Region.Framework.Scenes
|
|||||||
/// 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>
|
/// <remarks>
|
||||||
/// This function is called continuously, even when there are no collisions which might be very inefficient.
|
/// This function is called continuously, even when there are no collisions. If the avatar is walking on the
|
||||||
/// However, we can't avoid this yet since some of this method might currently rely on being called every frame.
|
/// ground or a prim then there will be collision information between the avatar and the surface.
|
||||||
|
///
|
||||||
|
/// FIXME: However, we can't safely avoid calling this yet where there are no collisions without analyzing whether
|
||||||
|
/// any part of this method is relying on an every-frame call.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <param name="e"></param>
|
/// <param name="e"></param>
|
||||||
public void PhysicsCollisionUpdate(EventArgs e)
|
public void PhysicsCollisionUpdate(EventArgs e)
|
||||||
|
|||||||
Reference in New Issue
Block a user