several cosmetic on physics

This commit is contained in:
UbitUmarov
2022-11-08 03:56:11 +00:00
parent 87cf092666
commit c060ce1c9c
9 changed files with 45 additions and 89 deletions

View File

@@ -164,6 +164,9 @@ namespace OpenSim.Region.PhysicsModules.SharedBase
}
}
public abstract class PhysicsActor
{
//private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
@@ -190,6 +193,7 @@ namespace OpenSim.Region.PhysicsModules.SharedBase
public event OutOfBounds OnOutOfBounds;
#pragma warning restore 67
public CameraData TryGetCameraData()
{
GetCameraData handler = OnPhysicsRequestingCameraData;
@@ -209,7 +213,6 @@ namespace OpenSim.Region.PhysicsModules.SharedBase
cdata.bounce = 0;
}
public AABB2D _AABB2D;
public abstract bool Stopped { get; }
@@ -412,7 +415,7 @@ namespace OpenSim.Region.PhysicsModules.SharedBase
public abstract bool IsColliding { get; set; }
public abstract bool CollidingGround { get; set; }
public abstract bool CollidingObj { get; set; }
public abstract bool FloatOnWater { set; }
public virtual bool FloatOnWater { set { return; } }
public abstract Vector3 RotationalVelocity { get; set; }
public abstract bool Kinematic { get; set; }
public abstract float Buoyancy { get; set; }
@@ -519,11 +522,6 @@ namespace OpenSim.Region.PhysicsModules.SharedBase
set { return; }
}
public override bool FloatOnWater
{
set { return; }
}
public override bool CollidingGround
{
get { return false; }