diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs b/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs index a8edd23..0bdfbe3 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs | |||
@@ -822,6 +822,9 @@ namespace OpenSim.Region.Physics.BulletSPlugin | |||
822 | { | 822 | { |
823 | if (!IsActive) return; | 823 | if (!IsActive) return; |
824 | 824 | ||
825 | if (PhysicsScene.VehiclePhysicalLoggingEnabled) | ||
826 | BulletSimAPI.DumpRigidBody2(PhysicsScene.World.ptr, Prim.PhysBody.ptr); | ||
827 | |||
825 | ForgetKnownVehicleProperties(); | 828 | ForgetKnownVehicleProperties(); |
826 | 829 | ||
827 | MoveLinear(pTimestep); | 830 | MoveLinear(pTimestep); |
@@ -836,6 +839,9 @@ namespace OpenSim.Region.Physics.BulletSPlugin | |||
836 | // for the physics engine to note the changes so an UpdateProperties event will happen. | 839 | // for the physics engine to note the changes so an UpdateProperties event will happen. |
837 | PushKnownChanged(); | 840 | PushKnownChanged(); |
838 | 841 | ||
842 | if (PhysicsScene.VehiclePhysicalLoggingEnabled) | ||
843 | BulletSimAPI.DumpRigidBody2(PhysicsScene.World.ptr, Prim.PhysBody.ptr); | ||
844 | |||
839 | VDetailLog("{0},BSDynamics.Step,done,pos={1},force={2},velocity={3},angvel={4}", | 845 | VDetailLog("{0},BSDynamics.Step,done,pos={1},force={2},velocity={3},angvel={4}", |
840 | Prim.LocalID, VehiclePosition, Prim.Force, VehicleVelocity, VehicleRotationalVelocity); | 846 | Prim.LocalID, VehiclePosition, Prim.Force, VehicleVelocity, VehicleRotationalVelocity); |
841 | } | 847 | } |