Skip to content

EntityBox

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

EntityBox

EntityBox:Void entity:Int32, x:Float32, y:Float32, z:Float32, width:Float32, height:Float32, depth:Float32
Parameter Mode Type Default Description
entity In Int32 required The entity.
x In Float32 required Left side of the box, relative to the entity.
y In Float32 required Bottom of the box.
z In Float32 required Front of the box.
width In Float32 required Size of the box along X.
height In Float32 required Size of the box along Y.
depth In 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



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally