Script::GetCharacterCreateFacing
function · glue · primitive
- Address
0x471910· 29 bytes, up to0x47192c- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the create facing in degrees, the stored float times 57.29578 as a double
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- glue/create#facing-in-degrees
- Test
glue::lua_rad2deg_difftest
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 0
None by a direct call or jump.
Callees 1
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.