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