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

produce correct physical results, namely linear and angular momentum
 are not conserved.
httptests
UbitUmarov 2017-03-31 21:03:18 +01:00
parent 6a35a965ff
commit 24b7903cd0
1 changed files with 2 additions and 1 deletions

View File

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