diff options
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 | } |