Skip to content

EntityBox

Claude edited this page Oct 27, 2026 · 6 revisions
Blitz3D

EntityBox

EntityBox entity:Int32, x:Float32, y:Float32, z:Float32, width:Float32, height:Float32, depth:Float32
Parameter Type Default Description
entity Int32 required The entity.
x Float32 required Left side of the box, relative to the entity.
y Float32 required Bottom of the box.
z Float32 required Front of the box.
width Float32 required Size of the box along X.
height Float32 required Size of the box along Y.
depth Float32 required Size of the box along Z.

Description

Sets the box that other entities hit when a Collisions rule uses method 3 (ellipsoid-to-box). The box is placed relative to the entity and scales with it.

Without a call to EntityBox the box runs from -1 to 1 on every axis around the entity's origin.

Related Commands

CollisionEntity, EntityCollided, EntityRadius, EntityType, GetEntityType, ResetEntity

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally