setLinearDamping method

void setLinearDamping(
  1. double linearDamping
)

Linear damping is use to reduce the linear velocity. The damping parameter can be larger than 1.0f but the damping effect becomes sensitive to the time step when the damping parameter is large.

Implementation

void setLinearDamping(double linearDamping) {
  this.linearDamping = linearDamping;
}