de-Roo.Lukas Posted March 13, 2018 Share Posted March 13, 2018 Hi, I found that no matter how much mass I set to a rigidbody. it always falls at the same speed, which is very slow. weightBody = BodyRigid::create(weight->getObject()); weightBody->getBody()->addShape(ShapeBox::create(vec3(0.2f))->getShape(), translate(0.0f, 0.0f, 0.0f)); weightBody->getBody()->getShape(0)->setMass(10); how can I change the speed of the rigidbody falling? Thanks Link to comment
Greg.Mildenhall Posted March 13, 2018 Share Posted March 13, 2018 Just like in the real world, mass should have no effect on how fast an object falls, only gravity - for which there's a global physics setting. Things will also appear to fall too slowly if they are scaled larger than you realise. Link to comment
de-Roo.Lukas Posted March 13, 2018 Author Share Posted March 13, 2018 Thanks, I forgot about the free fall theory and there is no resistance in the engine. Link to comment
Recommended Posts