benilla-re systems structs docs

CM2Model::GetCollisionBox

function · models · orchestration

Address
0x713700 · 54 bytes, up to 0x713735
Meaning
Copies the collision box of an instance's model
Confidence
verified, proof one
Finding
models/model#bounds

Finding: Bounds in models: the instance

GetBoundingSphere returns the centre of the header's bounding box and its radius: x and y are (min + max)·0.5 from a sum at the FPU's 53-bit precision, z rounds the sum to a float first. The radius is header +0xcc. GetBoundingBox and GetCollisionBox copy the six floats at +0xb4 and +0xd0.

The derivation is in the doc.

Callers 5

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.