mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
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:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user