mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
* Allow passing of material type to physics engine
* Define low friction and medium bounce for Glass
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user