s_spellPlacementRotatable
global · spell
- Address
0xceca90· 1 bytes, up to0xceca90- Type
uint8_t- Meaning
- Holds 1 while the pending placement is rotatable; 0 at load, written by 0x6e4b60
- Confidence
- verified, proof one
- Finding
- spell/targeting#placement-model-and-rotation
Finding: Placement model and rotation in spell: targeting
A spell that places a game object keeps a preview model 0xceca8c, a rotatable flag 0xceca90
and a facing 0xcecad4. 0x6e6970 and 0x6e69d0 return the model and the flag. 0x6e6980
returns the facing: when not rotatable it reads the caster's facing, stores it and returns it at
full precision; otherwise, or with no caster, the stored value. 0x6e69e0 adds π/2 as a float
and, when the unrounded sum is at least 2π (as a float), stores the rounded sum less 2π. 0x492c20, on a world input whose +0x14 is 4 while targeting, rotates a rotatable placement
and otherwise stops targeting.
The derivation is in the doc.