diff options
author | UbitUmarov | 2017-03-31 21:03:18 +0100 |
---|---|---|
committer | UbitUmarov | 2017-03-31 21:03:57 +0100 |
commit | 24b7903cd02a2d86cdf535f86b093af0a63c99a2 (patch) | |
tree | 5b1dc2f5d22a16e99c853de7a489538a00b059d1 /OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | |
parent | add OSSL functions to override linksets total mass, center of mass and inert... (diff) | |
download | opensim-SC-24b7903cd02a2d86cdf535f86b093af0a63c99a2.zip opensim-SC-24b7903cd02a2d86cdf535f86b093af0a63c99a2.tar.gz opensim-SC-24b7903cd02a2d86cdf535f86b093af0a63c99a2.tar.bz2 opensim-SC-24b7903cd02a2d86cdf535f86b093af0a63c99a2.tar.xz |
add missing file. Changes of inertia data of objects running does not
produce correct physical results, namely linear and angular momentum
are not conserved.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs index bed66cc..6279d6a 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | |||
@@ -155,6 +155,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
155 | VehicleRotationParam, | 155 | VehicleRotationParam, |
156 | VehicleFlags, | 156 | VehicleFlags, |
157 | SetVehicle, | 157 | SetVehicle, |
158 | SetInertia, | ||
158 | 159 | ||
159 | Null //keep this last used do dim the methods array. does nothing but pulsing the prim | 160 | Null //keep this last used do dim the methods array. does nothing but pulsing the prim |
160 | } | 161 | } |
@@ -502,7 +503,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
502 | 503 | ||
503 | d.WorldSetGravity(world, gravityx, gravityy, gravityz); | 504 | d.WorldSetGravity(world, gravityx, gravityy, gravityz); |
504 | 505 | ||
505 | d.WorldSetLinearDamping(world, 0.002f); | 506 | d.WorldSetLinearDamping(world, 0.001f); |
506 | d.WorldSetAngularDamping(world, 0.002f); | 507 | d.WorldSetAngularDamping(world, 0.002f); |
507 | d.WorldSetAngularDampingThreshold(world, 0f); | 508 | d.WorldSetAngularDampingThreshold(world, 0f); |
508 | d.WorldSetLinearDampingThreshold(world, 0f); | 509 | d.WorldSetLinearDampingThreshold(world, 0f); |