Jump to content

RigidBody falling velocity


photo

Recommended Posts

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

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
×
×
  • Create New...