CGUnit_C::ResetDisplayFacing
function · objectlayer · primitive
- Address
0x601020· 45 bytes, up to0x60104c- Meaning
- Sets the display facing +0xc98 from the mover and zeroes the samples +0xc9c to +0xca8
- Confidence
- verified, proof two
- Finding
- objectlayer/unitmovement#facing
Finding: Facing in objectlayer: unit movement
A unit keeps a display facing at +0xc98 and a second facing at +0xc94. The active mover's
display follows the mover; another unit's turns toward its move direction or, idle, toward its
target, averaging four samples at +0xc9c. 0x6084f0 wraps an angle into −π to π.
The derivation is in the doc.
Callers 2
- CGUnit_C::PostInit objectlayer
- CGUnit_C::Reactivate objectlayer
Callees 1
- AngleWrap fastmath
Calls and jumps by a bare address, from tables/calls.tsv.