add missing file. Changes of inertia data of objects running does not

produce correct physical results, namely linear and angular momentum
 are not conserved.
This commit is contained in:
UbitUmarov
2017-03-31 21:03:18 +01:00
parent 6a35a965ff
commit 24b7903cd0

View File

@@ -155,6 +155,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
VehicleRotationParam,
VehicleFlags,
SetVehicle,
SetInertia,
Null //keep this last used do dim the methods array. does nothing but pulsing the prim
}
@@ -502,7 +503,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
d.WorldSetGravity(world, gravityx, gravityy, gravityz);
d.WorldSetLinearDamping(world, 0.002f);
d.WorldSetLinearDamping(world, 0.001f);
d.WorldSetAngularDamping(world, 0.002f);
d.WorldSetAngularDampingThreshold(world, 0f);
d.WorldSetLinearDampingThreshold(world, 0f);