setAngularVelocity method
Sets body's spin (rad/s), waking it.
Implementation
@override
void setAngularVelocity(int body, Vector3 velocity) {
final b = _moving(body);
if (b == null) return;
b.angularVelocity.setFrom(velocity);
_wake(b);
}
Sets body's spin (rad/s), waking it.
@override
void setAngularVelocity(int body, Vector3 velocity) {
final b = _moving(body);
if (b == null) return;
b.angularVelocity.setFrom(velocity);
_wake(b);
}