setPosition method
void
setPosition({
- required Vector2 pos,
Set the position of the body.
Implementation
void setPosition({required Vector2 pos}) => _body.setPosition(pos: pos);
Set the position of the body.
void setPosition({required Vector2 pos}) => _body.setPosition(pos: pos);