mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
changes in physics manager, needed for UbitODE
This commit is contained in:
@@ -68,6 +68,17 @@ namespace OpenSim.Region.Physics.Manager
|
||||
}
|
||||
}
|
||||
|
||||
public struct ContactData
|
||||
{
|
||||
public float mu;
|
||||
public float bounce;
|
||||
|
||||
public ContactData(float _mu, float _bounce)
|
||||
{
|
||||
mu = _mu;
|
||||
bounce = _bounce;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Used to pass collision information to OnCollisionUpdate listeners.
|
||||
/// </summary>
|
||||
@@ -143,6 +154,14 @@ namespace OpenSim.Region.Physics.Manager
|
||||
get { return new NullPhysicsActor(); }
|
||||
}
|
||||
|
||||
|
||||
public virtual bool Building { get; set; }
|
||||
|
||||
public virtual ContactData ContactData
|
||||
{
|
||||
get { return new ContactData(0, 0); }
|
||||
}
|
||||
|
||||
public abstract bool Stopped { get; }
|
||||
|
||||
public abstract Vector3 Size { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user