vh: add material physical property definitions to PhysicsActor

0.7.5-pf-bulletsim
Robert Adams 2013-05-09 22:16:26 -07:00
parent e8c01eff40
commit 43f3459c3a
1 changed files with 7 additions and 3 deletions

View File

@ -147,6 +147,8 @@ namespace OpenSim.Region.Physics.Manager
public abstract Vector3 Size { get; set; }
public virtual byte PhysicsShapeType { get; set; }
public abstract PrimitiveBaseShape Shape { set; }
uint m_baseLocalID;
@ -218,9 +220,11 @@ namespace OpenSim.Region.Physics.Manager
handler(e);
}
public virtual void SetMaterial (int material)
{
}
public virtual void SetMaterial (int material) { }
public virtual float Density { get; set; }
public virtual float GravModifier { get; set; }
public virtual float Friction { get; set; }
public virtual float Restitution { get; set; }
/// <summary>
/// Position of this actor.