Plumb the connection through from llSetVehicleFloatParam

to the various physics engines. No connection to the 
underlying physics simulator yet, just plumbing through
the various classes.
This commit is contained in:
Charles Krinke
2008-09-28 18:36:30 +00:00
parent 95c3e0883c
commit 3397236c6c
10 changed files with 73 additions and 3 deletions

View File

@@ -174,6 +174,9 @@ namespace OpenSim.Region.Physics.Manager
public abstract PhysicsVector Position { get; set; }
public abstract float Mass { get; }
public abstract PhysicsVector Force { get; set; }
public abstract float VehicleFloatParam { get; set; }
public abstract PhysicsVector GeometricCenter { get; }
public abstract PhysicsVector CenterOfMass { get; }
public abstract PhysicsVector Velocity { get; set; }
@@ -195,8 +198,6 @@ namespace OpenSim.Region.Physics.Manager
public abstract PhysicsVector PIDTarget { set;}
public abstract bool PIDActive { set;}
public abstract float PIDTau { set; }
public abstract void AddForce(PhysicsVector force, bool pushforce);
public abstract void SetMomentum(PhysicsVector momentum);
public abstract void SubscribeEvents(int ms);
@@ -278,6 +279,12 @@ namespace OpenSim.Region.Physics.Manager
set { return; }
}
public override float VehicleFloatParam
{
get { return 0f; }
set { return; }
}
public override PhysicsVector CenterOfMass
{
get { return PhysicsVector.Zero; }