Skip to content

Class 0x15898c52

16.4

Class Documentation

Edit documentation

Definition of the 0xa98b5b03 component, which spins the character mesh of the entity about the vertical axis at a speed that decays to zero. The component copies the three values when the entity spawns.

Each tick, the yaw of the mesh advances by the current speed, in degrees, and the speed moves toward zero by (|speed| * 0x8204ce90 + 0x5cfe86e8) * dt, with dt in seconds. The spin stops when the magnitude of the speed is 0.01 or less.

Properties

0x8204ce90

F32 = 2
Edit documentation

Proportional decay rate, per second. Each second the speed loses this multiple of its own magnitude.

0xc13228c4

F32 = 25
Edit documentation

Copied into the component. The spin update does not read it. Purpose not yet identified.