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 | |
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')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | 5 |
2 files changed, 5 insertions, 2 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 | } |
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs index a4c3f92..be652c0 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | |||
@@ -727,8 +727,8 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
727 | if (g1 == g2) | 727 | if (g1 == g2) |
728 | return; // Can't collide with yourself | 728 | return; // Can't collide with yourself |
729 | 729 | ||
730 | if (b1 != IntPtr.Zero && b2 != IntPtr.Zero && d.AreConnectedExcluding(b1, b2, d.JointType.Contact)) | 730 | // if (b1 != IntPtr.Zero && b2 != IntPtr.Zero && d.AreConnectedExcluding(b1, b2, d.JointType.Contact)) |
731 | return; | 731 | // return; |
732 | /* | 732 | /* |
733 | // debug | 733 | // debug |
734 | PhysicsActor dp2; | 734 | PhysicsActor dp2; |
@@ -1176,6 +1176,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
1176 | aprim.clearSleeperCollisions(); | 1176 | aprim.clearSleeperCollisions(); |
1177 | } | 1177 | } |
1178 | } | 1178 | } |
1179 | |||
1179 | lock (_activegroups) | 1180 | lock (_activegroups) |
1180 | { | 1181 | { |
1181 | try | 1182 | try |