setLinearVelocity method

void setLinearVelocity(
  1. Vector2 linearVelocity
)

The linear velocity of the body in world co-ordinates.

Implementation

void setLinearVelocity(Vector2 linearVelocity) {
  this.linearVelocity = linearVelocity;
}