CMCharacter Modules 0.1.0

Stick Twirl

Kind: Modifier · Add Component: Character Modules > Modifiers > Stick Twirl

Notices the stick circled quickly. It is how the player starts a spin.

Notices when the stick is circled quickly, twice, and starts the spin.

Inspector
▼Stick Twirl⋮
CharacterCharacter (Character Motor)
Sweep630
Window1.167
Minimum Tilt0.5
Buffer0.5
The Stick Twirl component in the Inspector, with its defaults.
Origin. Super Mario Odyssey (2017).

How it works

Changes Spin: a stick twirl starts it.

Stick Twirl: circling the stick about twice, quickly, starts a Spin, as in modern 3D platformers. It adds up how far the tilted stick turns, one way, over the last window; a twirl spotted while a spin cannot start (in the air, mid-move) is kept for buffer, so it starts on landing. Only from walking or standing. Numbers from the modern 3D platformer measurements (D44); how the sweep is measured is this package's own.

Combine it

  • Needs: Spin. The Inspector warns while one is missing.
  • Used by the presets: Modern Platformer.

Properties

PropertyDescriptionRangeDefault
CharacterThe character this module belongs to. Drag its Character Motor here.None
SweepDegrees the stick must turn, one way, to count as a twirl.0 or more630
WindowThe sweep must happen within this many seconds.0.01 or more1.167
Minimum TiltThe stick counts while tilted at least this far, 0 to 1.0 to 10.5
BufferSeconds a twirl is kept while a spin cannot start yet.0 or more0.5

Additional resources