For the complete documentation index, see llms.txt. This page is also available as Markdown.

math.interpolateEntityBB

Call Signature

interpolateEntityBB(entity): AxisAlignedBB

The bounding box of an entity interpolated to this frame, using the current render partial ticks.

Parameters

entity

Entity

The entity to interpolate.

Returns

AxisAlignedBB

The entity's bounding box this frame, or null when no entity was given.

Call Signature

interpolateEntityBB(entity, partialTicks): AxisAlignedBB

The bounding box of an entity interpolated to this frame.

Parameters

entity

Entity

The entity to interpolate.

partialTicks

number

The partial ticks, as given by a render event.

Returns

AxisAlignedBB

The entity's bounding box this frame, or null when no entity was given.

Remarks

The box is expanded slightly, so an ESP drawn around it does not clip into the entity's model.

Last updated