add get method on physics actors PIDHoverActive
parent
f87e284ec2
commit
aa3303e3af
|
@ -254,6 +254,7 @@ namespace OpenSim.Region.PhysicsModule.BasicPhysics
|
|||
|
||||
public override bool PIDHoverActive
|
||||
{
|
||||
get { return false; }
|
||||
set { return; }
|
||||
}
|
||||
|
||||
|
|
|
@ -267,6 +267,7 @@ namespace OpenSim.Region.PhysicsModule.BasicPhysics
|
|||
|
||||
public override bool PIDHoverActive
|
||||
{
|
||||
get { return false; }
|
||||
set { return; }
|
||||
}
|
||||
|
||||
|
|
|
@ -268,7 +268,7 @@ public abstract class BSPhysObject : PhysicsActor
|
|||
public float MoveToTargetTau { get; set; }
|
||||
|
||||
// Used for llSetHoverHeight and maybe vehicle height. Hover Height will override MoveTo target's Z
|
||||
public override bool PIDHoverActive { set { HoverActive = value; } }
|
||||
public override bool PIDHoverActive {get {return HoverActive;} set { HoverActive = value; } }
|
||||
public override float PIDHoverHeight { set { HoverHeight = value; } }
|
||||
public override PIDHoverType PIDHoverType { set { HoverType = value; } }
|
||||
public override float PIDHoverTau { set { HoverTau = value; } }
|
||||
|
|
|
@ -1173,6 +1173,10 @@ public class BSPrim : BSPhysObject
|
|||
// Used for llSetHoverHeight and maybe vehicle height
|
||||
// Hover Height will override MoveTo target's Z
|
||||
public override bool PIDHoverActive {
|
||||
get
|
||||
{
|
||||
return base.HoverActive;
|
||||
}
|
||||
set {
|
||||
base.HoverActive = value;
|
||||
EnableActor(HoverActive, HoverActorName, delegate()
|
||||
|
|
|
@ -1257,7 +1257,7 @@ namespace OpenSim.Region.PhysicsModule.ODE
|
|||
public override float PIDTau { set { return; } }
|
||||
|
||||
public override float PIDHoverHeight { set { return; } }
|
||||
public override bool PIDHoverActive { set { return; } }
|
||||
public override bool PIDHoverActive {get {return false;} set { return; } }
|
||||
public override PIDHoverType PIDHoverType { set { return; } }
|
||||
public override float PIDHoverTau { set { return; } }
|
||||
|
||||
|
|
|
@ -3007,7 +3007,7 @@ Console.WriteLine(" JointCreateFixed");
|
|||
public override float PIDTau { set { m_PIDTau = value; } }
|
||||
|
||||
public override float PIDHoverHeight { set { m_PIDHoverHeight = value; ; } }
|
||||
public override bool PIDHoverActive { set { m_useHoverPID = value; } }
|
||||
public override bool PIDHoverActive { get { return m_useHoverPID;} set { m_useHoverPID = value; } }
|
||||
public override PIDHoverType PIDHoverType { set { m_PIDHoverType = value; } }
|
||||
public override float PIDHoverTau { set { m_PIDHoverTau = value; } }
|
||||
|
||||
|
|
|
@ -291,6 +291,7 @@ namespace OpenSim.Region.PhysicsModule.POS
|
|||
|
||||
public override bool PIDHoverActive
|
||||
{
|
||||
get { return false; }
|
||||
set { return; }
|
||||
}
|
||||
|
||||
|
|
|
@ -286,6 +286,7 @@ namespace OpenSim.Region.PhysicsModule.POS
|
|||
|
||||
public override bool PIDHoverActive
|
||||
{
|
||||
get { return false; }
|
||||
set { return; }
|
||||
}
|
||||
|
||||
|
|
|
@ -391,7 +391,7 @@ namespace OpenSim.Region.PhysicsModules.SharedBase
|
|||
|
||||
// Used for llSetHoverHeight and maybe vehicle height
|
||||
// Hover Height will override MoveTo target's Z
|
||||
public abstract bool PIDHoverActive { set;}
|
||||
public abstract bool PIDHoverActive {get; set;}
|
||||
public abstract float PIDHoverHeight { set;}
|
||||
public abstract PIDHoverType PIDHoverType { set;}
|
||||
public abstract float PIDHoverTau { set;}
|
||||
|
@ -621,7 +621,7 @@ namespace OpenSim.Region.PhysicsModules.SharedBase
|
|||
public override float PIDTau { set { return; } }
|
||||
|
||||
public override float PIDHoverHeight { set { return; } }
|
||||
public override bool PIDHoverActive { set { return; } }
|
||||
public override bool PIDHoverActive {get {return false;} set { return; } }
|
||||
public override PIDHoverType PIDHoverType { set { return; } }
|
||||
public override float PIDHoverTau { set { return; } }
|
||||
|
||||
|
|
|
@ -1480,6 +1480,10 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
|||
}
|
||||
public override bool PIDHoverActive
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_useHoverPID;
|
||||
}
|
||||
set
|
||||
{
|
||||
AddChange(changes.PIDHoverActive, value);
|
||||
|
|
|
@ -747,6 +747,10 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
|||
}
|
||||
public override bool PIDHoverActive
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_useHoverPID;
|
||||
}
|
||||
set
|
||||
{
|
||||
AddChange(changes.PIDHoverActive, value);
|
||||
|
|
Loading…
Reference in New Issue