rotating method
Rotates this particle from a given angle to another one in radians
using RotatingParticle
.
Implementation
Particle rotating({
double from = 0,
double to = pi,
}) {
return RotatingParticle(
child: this,
lifespan: _lifespan,
from: from,
to: to,
);
}