diff options
author | UbitUmarov | 2012-07-07 03:16:41 +0100 |
---|---|---|
committer | UbitUmarov | 2012-07-07 03:16:41 +0100 |
commit | d50b852d530bd17f2bb5a7964e9ddf81acff9146 (patch) | |
tree | 12f62c914e23750f9e4c5ae6651048d6ef5d71ce /OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | |
parent | added llSetVelocity. will refuse to work on vehicles and on attachments ( th... (diff) | |
download | opensim-SC_OLD-d50b852d530bd17f2bb5a7964e9ddf81acff9146.zip opensim-SC_OLD-d50b852d530bd17f2bb5a7964e9ddf81acff9146.tar.gz opensim-SC_OLD-d50b852d530bd17f2bb5a7964e9ddf81acff9146.tar.bz2 opensim-SC_OLD-d50b852d530bd17f2bb5a7964e9ddf81acff9146.tar.xz |
ODE turn off material dependent friction while vehicle linear motor is Effective. Increase a bit world damping of velocities
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs index 6c72324..4552f3f 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | |||
@@ -526,8 +526,8 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
526 | d.WorldSetGravity(world, gravityx, gravityy, gravityz); | 526 | d.WorldSetGravity(world, gravityx, gravityy, gravityz); |
527 | d.WorldSetContactSurfaceLayer(world, contactsurfacelayer); | 527 | d.WorldSetContactSurfaceLayer(world, contactsurfacelayer); |
528 | 528 | ||
529 | d.WorldSetLinearDamping(world, 0.001f); | 529 | d.WorldSetLinearDamping(world, 0.002f); |
530 | d.WorldSetAngularDamping(world, 0.001f); | 530 | d.WorldSetAngularDamping(world, 0.002f); |
531 | d.WorldSetAngularDampingThreshold(world, 0f); | 531 | d.WorldSetAngularDampingThreshold(world, 0f); |
532 | d.WorldSetLinearDampingThreshold(world, 0f); | 532 | d.WorldSetLinearDampingThreshold(world, 0f); |
533 | d.WorldSetMaxAngularSpeed(world, 100f); | 533 | d.WorldSetMaxAngularSpeed(world, 100f); |