aabb Overlap
fun aabbOverlap(bodyA: CollisionBodyInterface, bodyB: CollisionBodyInterface): Boolean
Content copied to clipboard
Checks whether two body's AABB's overlap in world space.
Return
Boolean value of whether the two bodies AABB's overlap in world space.
Parameters
body A
First body to evaluate.
body B
Second body to evaluate.
fun aabbOverlap(boxA: AxisAlignedBoundingBox, boxB: AxisAlignedBoundingBox): Boolean
Content copied to clipboard
Method to check if two AABB's overlap. Can be seen as world space.
Return
Boolean value of whether two bounds of the AABB's overlap.
Parameters
box A
First AABB to evaluate.
box B
Second AABB to evaluate.