add tree updates in predict motion.

This commit is contained in:
jingyuc
2021-08-11 15:58:40 -04:00
parent 6355b06a8b
commit e4e8f1ad93
2 changed files with 10 additions and 1 deletions

View File

@@ -183,7 +183,7 @@ void FreeFall::initPhysics()
}
// create a static rigid box as the ground
{
btBoxShape* groundShape = createBoxShape(btVector3(btScalar(5.), btScalar(5.), btScalar(0.5)));
btBoxShape* groundShape = createBoxShape(btVector3(btScalar(3.), btScalar(3.), btScalar(0.1)));
m_collisionShapes.push_back(groundShape);
btTransform groundTransform;