> It would probably be a good idea to have llMoveTo() and llSetHoverHeight()
> be mutually exclusive, so perhaps adding another flag to PhysicsActor for
> PIDHover {True/False}, and then using that in the various physics
> implementations to signal when only the Z axis should be used.
>

An alternative I thought of this morning, was to have an Axis bit flag
variable which would specify which Axes are to be affected by
PIDTarget/Tua/Active like this:

[Flags]
public enum PIDAxes
{
  X,    // 0000
  Y,    // 0001
  Z    // 0010
}

PIDAxes PIDAxesAffected = X | Y | Z; // Default

PIDAxes PIDAxesAffected = Z; // Hover only

--
Mike C.
_______________________________________________
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev

Reply via email to