# Spinner

Spinner
Hitbox Info
Hitbox

Collision involves triangles instead of a cylindrical hitbox

Damage none
Interaction type none
Surfaces floor: 0x00, wall: 0x00, ceil: 0x15
Related
Found In
Tick Tock Clock

A spinner is an object found in Tick Tock Clock. The spinner spins around its central axis either clockwise or counterclockwise, and its spin is dependent on the setting of the clock.

## Behavior

The spinner behaves differently on all four clock settings.

### Still Setting

The spinner is still on the still setting.

### Fast Setting

The spinner spins quickly on the fast setting.

### Slow Setting

The spinner spins slowly on the slow setting.

### Random Setting

Spinners call RNG twice when they stop spinning[1]. The first call determines direction. If the result is less than 32768, the spinner spins clockwise, and otherwise counterclockwise. The second call determines intended angular displacement. Spinners calculate their intended angular displacement by the following formula, in which % denotes the modulo function:

```Intended Angular Displacement = (RNG % 4) * 30 + 30
```

The following is a table summarizing this information, with probabilities of the individual states in parentheses:

Spinner intended CW ang disp (AU) RNG2 % 4 = 0 (24.982339%) RNG2 % 4 = 1 (24.999232%) RNG2 % 4 = 2 (25.008447%) RNG2 % 4 = 3 (25.009982%)
RNG1 ≥ 32768 (49.983107%) -30 (12.485794%) -60 (12.490401%) -90 (12.501152%) -120 (12.505759%)
RNG1 < 32768 (50.016893%) 30 (12.496545%) 60 (12.508831%) 90 (12.507295%) 120 (12.504223%)