Hello, I have two problems, first one is, that I have base platform defined as this:
hkVector4 baseSize( 50.0f, 0.5f, 150.0f);
hkpRigidBody* baseRigidBody = GameUtils::createBox(baseSize, 0.0f, basePos,0);
baseRigidBody->setCollisionFilterInfo( hkpGroupFilter::calcFilterInfo( hkpGroupFilterSetup::LAYER_STATIC ) );
m_world->addEntity( baseRigidBody );
And rigid body defined like this:
size.set(1.0f,1.0f,1.0f); //teeter totter box
pos.set( 0.0f,3.5f, -27.0f);
rb = GameUtils::createBox(size, 0.001f, pos,0.0f);
m_world->addEntity( rb );
After some collision is this box catapulted by teeter-totter, it gets some height and then falls onto base. Problem is, that this box penetrate little bit into the base during the impact. When is impact speed too high, it penetrate thru whole base and falls down into the free space. Where I should look for problem?
And second thing and maybe possible Havok bug is on this picture:
Why is this cube resting on its edge? Its not normal behavior...