mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Rename Bounciness to Restitution
This commit is contained in:
@@ -7801,7 +7801,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
physdata.PhysShapeType = (PhysShapeType)part.PhysicsShapeType;
|
||||
physdata.Density = part.Density;
|
||||
physdata.Friction = part.Friction;
|
||||
physdata.Bounce = part.Bounciness;
|
||||
physdata.Bounce = part.Restitution;
|
||||
physdata.GravitationModifier = part.GravityModifier;
|
||||
|
||||
if ((material_bits & (int)ScriptBaseClass.DENSITY) != 0)
|
||||
@@ -8194,7 +8194,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
|
||||
ExtraPhysicsData physdata = new ExtraPhysicsData();
|
||||
physdata.Density = part.Density;
|
||||
physdata.Bounce = part.Bounciness;
|
||||
physdata.Bounce = part.Restitution;
|
||||
physdata.GravitationModifier = part.GravityModifier;
|
||||
physdata.PhysShapeType = (PhysShapeType)shape_type;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user