mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
* Allow passing of material type to physics engine
* Define low friction and medium bounce for Glass
This commit is contained in:
@@ -182,6 +182,11 @@ namespace OpenSim.Region.Physics.Manager
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void SetMaterial (int material)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public abstract PhysicsVector Position { get; set; }
|
||||
public abstract float Mass { get; }
|
||||
public abstract PhysicsVector Force { get; set; }
|
||||
@@ -334,6 +339,11 @@ namespace OpenSim.Region.Physics.Manager
|
||||
|
||||
}
|
||||
|
||||
public override void SetMaterial(int material)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override PhysicsVector CenterOfMass
|
||||
{
|
||||
get { return PhysicsVector.Zero; }
|
||||
|
||||
Reference in New Issue
Block a user