yongho.suk Posted July 10, 2015 Share Posted July 10, 2015 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
maxi Posted July 13, 2015 Share Posted July 13, 2015 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
Recommended Posts