aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/BulletS/BSApiTemplate.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/PhysicsModules/BulletS/BSApiTemplate.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSApiTemplate.cs b/OpenSim/Region/PhysicsModules/BulletS/BSApiTemplate.cs
index 816189f..afb0ba2 100644
--- a/OpenSim/Region/PhysicsModules/BulletS/BSApiTemplate.cs
+++ b/OpenSim/Region/PhysicsModules/BulletS/BSApiTemplate.cs
@@ -128,6 +128,7 @@ public struct RaycastHit
128 public UInt32 ID; 128 public UInt32 ID;
129 public float Fraction; 129 public float Fraction;
130 public Vector3 Normal; 130 public Vector3 Normal;
131 public Vector3 Point;
131} 132}
132[StructLayout(LayoutKind.Sequential)] 133[StructLayout(LayoutKind.Sequential)]
133public struct CollisionDesc 134public struct CollisionDesc
@@ -742,6 +743,12 @@ public abstract void SetMargin(BulletShape shape, float val);
742public abstract float GetMargin(BulletShape shape); 743public abstract float GetMargin(BulletShape shape);
743 744
744// ===================================================================================== 745// =====================================================================================
746// Raycast
747public abstract SweepHit ConvexSweepTest2(BulletWorld world, BulletBody obj, Vector3 from, Vector3 to, float margin);
748
749public abstract RaycastHit RayTest2(BulletWorld world, Vector3 from, Vector3 to, uint filterGroup, uint filterMask);
750
751// =====================================================================================
745// Debugging 752// Debugging
746public virtual void DumpRigidBody(BulletWorld sim, BulletBody collisionObject) { } 753public virtual void DumpRigidBody(BulletWorld sim, BulletBody collisionObject) { }
747 754