/// <summary> /// Removes the collider from the engine processing pipeline. /// </summary> /// <param name="collider">The collider.</param> public void RemoveCollider(Collider collider) { collisionWorld.RemoveCollisionObject(collider.InternalCollider); aliveColliders.Remove(collider.InternalCollider); collider.Simulation = null; }
internal void RemoveCollider(PhysicsComponent component) { collisionWorld.RemoveCollisionObject(component.NativeCollisionObject); }
/// <summary> /// Removes the collider from the engine processing pipeline. /// </summary> /// <param name="collider">The collider.</param> public void RemoveCollider(Collider collider) { collisionWorld.RemoveCollisionObject(collider.InternalCollider); }