TransportHandlerGetPosition
function · objectlayer · primitive
- Address
0x5f5c10· 33 bytes, up to0x5f5c30- Meaning
- Writes a transport's base position
- Confidence
- verified, proof two
- Finding
- objectlayer/transports#the-transport-tick
Finding: The transport tick in objectlayer: transports
The new position is the fields' position plus the path offset. When the squared move from the
base is below 2^-20 nothing moves: a ready entity clears flag 0x8000000 on its passengers. With
no passengers the base and entity take the new position. Otherwise each passenger is swept along
the move by SweepCarrierMove in the frame of the old base, then the base, the frame and the
entity move, the speed becomes the distance over the elapsed seconds and the passengers'
models take the frame. The velocity (slot 20) is speed × heading, kept from the last carried
move.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.