Skip to content

MeshesIntersect

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions
Blitz3D

MeshesIntersect

MeshesIntersect:Int32 mesh_a:Int32, mesh_b:Int32
Parameter Mode Type Default Description
mesh_a In Int32 required First mesh handle.
mesh_b In Int32 required Second mesh handle.

Returns: 1 if the meshes intersect, otherwise 0.

Description

Tests if the triangles of two meshes touch at their current positions. It takes the entity position, rotation and scale into account. It is exact, but slow compared with the collision commands, so call it only when a cheaper check such as a distance already said the meshes are close.

Related Commands

MeshCullBox, MeshDepth, MeshHeight, MeshWidth

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally