* Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect.

* Warning! Physics API change. This means that the NBodySimulation needs to be updated!
* PhysicsActor -> void SetVolumeDetect(int) needs to go into classes that use PhysicsActor as their base class.
This commit is contained in:
Teravus Ovares
2008-12-09 11:11:16 +00:00
parent 44d133da66
commit 3844e73d27
12 changed files with 64 additions and 2 deletions

View File

@@ -180,6 +180,8 @@ namespace OpenSim.Region.Physics.Manager
public abstract void VehicleVectorParam(int param, PhysicsVector value);
public abstract void VehicleRotationParam(int param, Quaternion rotation);
public abstract void SetVolumeDetect(int param); // Allows the detection of collisions with inherently non-physical prims. see llVolumeDetect for more
public abstract PhysicsVector GeometricCenter { get; }
public abstract PhysicsVector CenterOfMass { get; }
public abstract PhysicsVector Velocity { get; set; }
@@ -303,6 +305,11 @@ namespace OpenSim.Region.Physics.Manager
}
public override void SetVolumeDetect(int param)
{
}
public override PhysicsVector CenterOfMass
{
get { return PhysicsVector.Zero; }