Nez.Portable/ECS/Components/Physics/Colliders/Collider.cs
/// <summary>
/// checks to see if this Collider collides with collider. If it does, true will be returned and result will be populated
/// with collision data
/// </summary>
/// <returns><c>true</c>, if with was collidesed, <c>false</c> otherwise.</returns>
/// <param name="collider">Collider.</param>
/// <param name="result">Result.</param>
checks to see if this Collider collides with collider. If it does, true will be returned and result will be populated
with collision data
checks to see if this Collider collides with collider . If it does true will be returned and result will be populated with collision data
public bool collidesWith(Collider collider, out CollisionResult result)
        {
            if (shape.collidesWithShape(collider.shape, out result))
            {
                result.collider = collider;
                return true;
            }
            return false;
        }
public bool collidesWith ( Collider collider , out CollisionResult result ) { if ( shape . collidesWithShape ( collider . shape , out result ) ) { result . collider = collider ; return true ; } return false ; }
checks to see if this Collider collides with collider.
checks to see if this Collider collides with collider .
None
collider
Collider
None
CollisionResult
out
result
None