Skip to content

k‐DOP bounding box

skzk edited this page Jun 25, 2024 · 2 revisions

The k-DOP bounding box of the item, used for rendering and collision detection.

See here for an explanation. (I don't actually understand this, but I'm sure somebody reading this does.)

Calculating it properly in an external library requires loading the models referenced in the item, but since you just can recalculate them in the editor, I've decided to ignore them in TruckLib.

If there are too many items with all values set to 0, the game will crash.

Structure

Field(s) Description
array_float minimums
array_float maximums
Five values each.
Clone this wiki locally