Skip to content

CollisionTime

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

CollisionTime

CollisionTime:Float32 entity:Int32, collision_index:Int32
Parameter Mode Type Default Description
entity In Int32 required The entity that moved.
collision_index In Int32 required

Returns: How far along its path the entity was when it touched, as a fraction of the move done in that update, from 0 to 1. A value near 1 means it traveled almost the whole way before touching.

Description

Not documented yet.

Differences

  • The official help says this is the time taken to calculate the collision. The engine does not measure time; the value is the fraction of the move described above, which is what the original returns as well.

Related Commands

CollisionEntity, CollisionNX, CollisionNY, CollisionNZ, CollisionSurface, CollisionTriangle, CollisionX, CollisionY

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally