mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
* ODE Stability update 4 :D
* Changed the way meshing requests get sent to the ODEPlugin * Numerous other fixes
This commit is contained in:
@@ -508,7 +508,12 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
|
||||
public override PhysicsVector Velocity
|
||||
{
|
||||
get { return _velocity; }
|
||||
get {
|
||||
if (_zeroFlag)
|
||||
return PhysicsVector.Zero;
|
||||
m_lastUpdateSent = false;
|
||||
return _velocity;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_pidControllerActive = true;
|
||||
@@ -612,7 +617,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
_zeroPosition = d.BodyGetPosition(Body);
|
||||
}
|
||||
//PidStatus = true;
|
||||
|
||||
|
||||
PhysicsVector vec = new PhysicsVector();
|
||||
d.Vector3 vel = d.BodyGetLinearVel(Body);
|
||||
float movementdivisor = 1f;
|
||||
|
||||
Reference in New Issue
Block a user