mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user