benilla-re systems structs docs

SetCreateFacing

function · glue · orchestration

Address
0x470a50 · 119 bytes, up to 0x470ac6
Signature
void __stdcall (float radians)
Meaning
Stores the create facing in radians and passes it to the create character model's transform
Confidence
verified, proof one
Finding
glue/create#facing-in-degrees

Finding: Facing in degrees in glue: character create

GetCharacterCreateFacing returns the stored float times 57.29578 as a double. SetCharacterCreateFacing(degrees) multiplies by 0.017453292, rounds to a float, stores it with no wrap, clamp or NaN test, passes it, when the character has a model, to the model's transform setter with the origin, axis (0, 0, 1) and scale (1, 1, 1), and returns its last argument.

The derivation is in the doc.

Callers 2

Callees 1

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