VecFlow0.1.0
FlowsOperators

Spin

Set particles tumbling as they enter an event, each about its own random axis, as fast as you like.

VecFlow 0.1.0

Set how fast particles entering the event turn, about a random axis or one you give.

Add it
EventAdd OperatorLooksSpin
Sends on
Nothing: it has no wire.
Influence
Yes: it does as much as a value says, particle by particle (0 none, 1 all of it).

When to use it

For things that tumble as they fly: confetti, leaves, debris, coins, sparks drawn as shapes. Like Rotation, it shows only on particles shown as shapes, and on rigid bodies.

Set it up

Put a Rotation (Random) above the Spin, so they start turned every way, then tumble from there.

Confetti: Rotation turns each piece at random, Spin sets it tumbling.BirthForcesPhysicsLooksTests

Settings

As the flow editor’s sidebar shows them. Changing any of them marks the bake old; those marked Keyframable can also change through a bake.

Spin
Keyframable
360 °/s0 to 1440

How far each particle turns per second.

Variation
Keyframable
0 °/s0 to 1440

Random difference, either way.

0, 0, 0-1 to 1

The axis every particle turns about. All zero for a random one each.

InfluenceEmpty

One of the flow’s number values, to weigh it by, particle by particle. Empty for all of it, on all of them. See Influence.

Spin and Variation

How far each particle turns per second, about an axis of its own, picked at random. 360 °/s is a full turn a second. Variation is give or take: 540 with Variation 360 gives each one between 180 and 900 °/s.

When it acts

Spin sets how fast particles turn as they enter its event. They go on turning at that rate until something changes it. A Collide's Friction slows their spin where they touch, as it slows their sliding, so what lands stops tumbling. With Friction 0 they keep spinning.

Works with

  • Rigid Body: a Spin above it sets how fast bodies start tumbling; after that, their hits do.
  • A Rotation with Keep Doing It in the same event sets their turn every step, so this Spin doesn't add up.
  • Influence: weighed by a value, a particle's spin goes that share of the way to the new one.

Problems you may see

The editor raises no problems of its own for Spin.

  • Rotation, Shape
  • Set Value can set spin too, as a vector: its direction is the axis, its length the speed, in radians a second.

On this page