b3dIsPointInEntity

Checks if a world point is inside entity bounding volume. Takes entity (entity handle), x/y/z (world coordinates to test). Returns 1 if point inside entity bounds, 0 if outside.

3D Graphics

Parameters & Returns

Parameters

entity Int
x Double
y Double
z Double

Returns

Int

Quick Summary

Checks if a world point is inside entity bounding volume. Takes entity (entity handle), x/y/z (world coordinates to test). Returns 1 if point inside entity bounds, 0 if outside.

Technical Exegesis...

Checks if a world point is inside entity bounding volume. Takes entity (entity handle from b3dLoadMesh/b3dCreateBox/etc), x/y/z (world coordinates to test as Double). Returns 1 if point inside entity's axis-aligned bounding box (AABB), 0 if point outside bounds.

Example

Example.bam
; No example implemented yet