CM2Model::GetCollisionSphere
function · models · unreached
- Address
0x713740· 128 bytes, up to0x7137bf- Meaning
- Returns the centre of the model's collision box and its collision radius; nothing reaches it
- 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 0
None by a direct call or jump.
Callees 1
- CM2Model::WaitForShared models
Calls and jumps by a bare address, from tables/calls.tsv.