From 0916b38b8300c41f66c2f22e79c77f3c5f6f4cb7 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 17 Oct 2008 23:19:00 +0000 Subject: * Fix an over compensation for bounciness on flat Primitive * Implement the linear impulse portion of llPushObject. We should have a lsl compatible implementation of that portion of the push. Angular.. well. still have yet to implement a torque accumulator. * llPushObject respects the region and parcel settings for Restrict Push, it also respects GodMode as is defined in the LSL spec. --- OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs') diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index 23481c6..2cb7e43 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs @@ -634,8 +634,9 @@ namespace OpenSim.Region.Physics.OdePlugin if (pushforce) { m_pidControllerActive = false; + force *= 100f; doForce(force); - + //System.Console.WriteLine("Push!"); //_target_velocity.X += force.X; // _target_velocity.Y += force.Y; //_target_velocity.Z += force.Z; -- cgit v1.1