diff options
author | UbitUmarov | 2017-04-18 05:31:15 +0100 |
---|---|---|
committer | UbitUmarov | 2017-04-18 05:31:15 +0100 |
commit | 006c08886a2af6d2287e6ef8bc67428b61ff9998 (patch) | |
tree | f0aec346384dc259fc7d008ccf7cf290acb98281 /OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs | |
parent | update ODE binaries for windows. Other platforms need to compile from opensi... (diff) | |
download | opensim-SC-006c08886a2af6d2287e6ef8bc67428b61ff9998.zip opensim-SC-006c08886a2af6d2287e6ef8bc67428b61ff9998.tar.gz opensim-SC-006c08886a2af6d2287e6ef8bc67428b61ff9998.tar.bz2 opensim-SC-006c08886a2af6d2287e6ef8bc67428b61ff9998.tar.xz |
deleted a bit 2 much on last commit
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs index 7b77d2f..9bf71f7 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs | |||
@@ -3380,6 +3380,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
3380 | enableBodySoft(); | 3380 | enableBodySoft(); |
3381 | else if (!d.BodyIsEnabled(Body)) | 3381 | else if (!d.BodyIsEnabled(Body)) |
3382 | d.BodyEnable(Body); | 3382 | d.BodyEnable(Body); |
3383 | d.BodySetLinearVel(Body, newVel.X, newVel.Y, newVel.Z); | ||
3383 | } | 3384 | } |
3384 | //resetCollisionAccounting(); | 3385 | //resetCollisionAccounting(); |
3385 | } | 3386 | } |
@@ -3403,6 +3404,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
3403 | enableBodySoft(); | 3404 | enableBodySoft(); |
3404 | else if (!d.BodyIsEnabled(Body)) | 3405 | else if (!d.BodyIsEnabled(Body)) |
3405 | d.BodyEnable(Body); | 3406 | d.BodyEnable(Body); |
3407 | d.BodySetAngularVel(Body, newAngVel.X, newAngVel.Y, newAngVel.Z); | ||
3406 | } | 3408 | } |
3407 | //resetCollisionAccounting(); | 3409 | //resetCollisionAccounting(); |
3408 | } | 3410 | } |