mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
several cosmetic on physics
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user