Hitbox3D

constructor(minX: Float, minY: Float, minZ: Float, maxX: Float, maxY: Float, maxZ: Float, inside: (ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float>) -> Boolean)


constructor(minX: Float, minY: Float, minZ: Float, maxX: Float, maxY: Float, maxZ: Float)

Creates a rectangular hitbox defined by its minimum and maximum x, y, and z coordinates.

Parameters

minX

The minimum x coordinate.

minY

The minimum y coordinate.

minZ

The minimum z coordinate.

maxX

The maximum x coordinate.

maxY

The maximum y coordinate.

maxZ

The maximum z coordinate.


constructor(min: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float>, max: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float>)

Creates a rectangular hitbox defined by its minimum and maximum points.

Parameters

min

A triple representing the minimum (x, y, z) coordinates.

max

A triple representing the maximum (x, y, z) coordinates.