Character falling through floor

valvalval

02-04-2008 17:10:24

NxOgre::CharacterParams cp;
cp.setToDefault();

m_pCharacter = GetGameWorld()->GetScene()->createCharacter(String(temp_name) + "EnemyRobot", NxOgre::Pose(this->Pos(), this->Orientation()), cp);

m_pCharacter->createNode();
m_pCharacter->attachMesh("robot.mesh");

I did it above.

What am I supposed to prevent falling through floor?
Sorry, betajan, I always appreciate your help.

betajaen

02-04-2008 17:11:23

Character Controllers do not work with GroundShapes, so you have to create a "Fake" floor by placing a large cube underneath the floor for the Character to walk on.

valvalval

02-04-2008 17:15:12

Character Controllers do not work with GroundShapes, so you have to create a "Fake" floor by placing a large cube underneath the floor for the Character to walk on.

(_ _ ) thanks, betajaen.