* 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.
This commit is contained in:
Teravus Ovares
2008-10-17 23:19:00 +00:00
parent 739f1591da
commit 0916b38b83
3 changed files with 176 additions and 12 deletions

View File

@@ -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;