* Allow passing of material type to physics engine

* Define low friction and medium bounce for Glass
This commit is contained in:
Teravus Ovares
2009-04-20 03:07:53 +00:00
parent 0da7c8a78c
commit 21d4423030
4 changed files with 266 additions and 20 deletions

View File

@@ -421,7 +421,14 @@ namespace OpenSim.Region.Framework.Scenes
public byte Material
{
get { return (byte) m_material; }
set { m_material = (Material)value; }
set
{
m_material = (Material)value;
if (PhysActor != null)
{
PhysActor.SetMaterial((int)value);
}
}
}
public ulong RegionHandle