mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
* 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:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user