Esempio n. 1
0
 public ManifoldPoint GetContactPoint(int index)
 {
     return(ManifoldPoint.FromPtr(btPersistentManifold_getContactPoint(Native, index)));
 }
Esempio n. 2
0
 private static bool ContactProcessedUnmanaged(IntPtr cp, IntPtr body0, IntPtr body1)
 {
     _contactProcessed.Invoke(ManifoldPoint.FromPtr(cp), CollisionObject.GetManaged(body0), CollisionObject.GetManaged(body1));
     return(false);
 }
Esempio n. 3
0
 private float AddSingleResultUnmanaged(IntPtr cp, IntPtr colObj0Wrap, int partId0, int index0, IntPtr colObj1Wrap, int partId1, int index1)
 {
     return(AddSingleResult(ManifoldPoint.FromPtr(cp),
                            new CollisionObjectWrapper(colObj0Wrap), partId0, index0,
                            new CollisionObjectWrapper(colObj1Wrap), partId1, index1));
 }