mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
* 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user