Jump to content

[SOLVED] what is ball rolling Deceleration speed


Recommended Posts

I tried to modify the test parameters of physic ..  with body and body Rigid class.

 

 

fDensity, fFriction , fRestutution  and addforce ... modify result..

 

Do not go below a minimum.

 

I want to stop the ball.

 

I would like to know the value of the parameter.

Link to comment

Hi, Yongho!
 

As I understand you want to stop the moving body right? You can use:

- Body::setPosition(Body::getPosition()) - manually setting body position resets it's linear and angular velocities

- Body::setEnabled(0), Body::setEnabled(1) - disabling/enabling resets velocities as well

Link to comment
×
×
  • Create New...