Skip to content

EntityRadius

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

EntityRadius

EntityRadius:Void entity:Int32, x_radius:Float32, y_radius:Float32=0
Parameter Mode Type Default Description
entity In Int32 required The entity.
x_radius In Float32 required Radius in the X and Z directions.
y_radius In Float32 0 Radius in the Y direction. Defaults to x_radius.

Description

Sets the size of the entity's collision ellipsoid. Every entity that moves into other things needs one, because collision always happens between an ellipsoid and something else. An entity that is hit by an ellipsoid-to-ellipsoid check (method 1 of Collisions) needs one as well.

The horizontal radius applies to both width and depth. Leave out the second radius to get a sphere.

Related Commands

CollisionEntity, EntityBox, EntityCollided, EntityType, GetEntityType, ResetEntity

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally