Skip to content

EntityBox

Narta Xaymar Dirks edited this page Nov 25, 2026 · 6 revisions

EntityBox Blitz3D

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 Blitz3D, EntityCollided Blitz3D, EntityRadius Blitz3D, EntityType Blitz3D, GetEntityType Blitz3D, ResetEntity Blitz3D

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally