Пример #1
0
 public void AddCollisionEvent(uint CollidedWith, float depth)
 {
     if (m_eventsubscription > 0)
     {
         CollisionEventsThisFrame.addCollider(CollidedWith, depth);
     }
 }
Пример #2
0
 public void AddCollision(uint collideWith, ContactPoint contact)
 {
     if (CollisionEventsThisFrame == null)
     {
         CollisionEventsThisFrame = new CollisionEventUpdate();
     }
     CollisionEventsThisFrame.addCollider(collideWith, contact);
 }
Пример #3
0
 public override void AddCollisionEvent(uint CollidedWith, ContactPoint contact)
 {
     CollisionEventsThisFrame.addCollider(CollidedWith, contact);
 }
Пример #4
0
 public override void AddCollisionEvent(uint localID, ContactPoint contact)
 {
     args.addCollider(localID, contact);
 }