CM2Model::Detach
function · models · orchestration
- Address
0x713020· 77 bytes, up to0x71306c- Meaning
- Detaches an instance from its parent and releases the parent's reference to it
- Confidence
- verified, proof one
- Finding
- models/model#attachments
Finding: Attachments in models: the instance
Attach(parent, id) takes an instance off the animate list, stores the parent and id, resolves
the id to the parent's attachment index (0xffff while the parent loads) and links it first among
the parent's children. An attached instance animates through its parent. GetAttachmentPosition
transforms the attachment's offset by its bone matrix and the scene matrix.
The derivation is in the doc.
Callers 20
- BuildCreateCharacter glue
- CGCorpse_C::RemoveLootSparkle objectlayer
- CGPlayer_C::OnVisibleItemChanged objectlayer
- CGUnit_C::OnModelEvent objectlayer
- CGUnit_C::ReleaseQuestMarker objectlayer
- CGUnit_C::AttachQuestMarker objectlayer
- CGUnit_C::Dismount objectlayer
- CGUnit_C::MoveHandItem objectlayer
- CGUnit_C::AttachHandItem objectlayer
- CGUnit_C::SetAmmoDisplay objectlayer
- CGUnit_C::EndRangedPose objectlayer
- CMissile::~CMissile objectlayer
- CMissile::Launch objectlayer
- CMissile::ArriveWithoutTarget objectlayer
- CMissile::ArriveMiss objectlayer
- CEffect::~CEffect objectlayer
- CM2Model::~CM2Model models
- CM2Model::InitializeLoaded models
- CM2Model::DetachChildren models
- CM2Model::DetachAt models
Callees 1
- HandleClose2 models
Calls and jumps by a bare address, from tables/calls.tsv.