setVelocity method
void
setVelocity({
- required Vector2 vel,
Set the velocity of the body.
Implementation
void setVelocity({required Vector2 vel}) => _body.setVelocity(vel: vel);
Set the velocity of the body.
void setVelocity({required Vector2 vel}) => _body.setVelocity(vel: vel);