gbisocoli
17-12-2011 20:25:11
Hi, I'm creating a soccer enviroment, this are some sizes/masses/etc. :
Player (soccer player standard, a cube for now):
Ball (Official)
This way, Ogre and NxOgre actors are the same sizes and all are in scale with the other actors.
The problem is that it all appears to be huge, because when the 'players' appear from above the ground they fall really slow to the ground, so what would be the correct Ogre/NxOgre sizes or scale for the actors to be at 'normal' size? I'm kind of lost here so I hope you understand what I mean.
Player (soccer player standard, a cube for now):
bodyDescription.mMass = 80.0f; // Set the mass to 80kg.
mBody = mRenderSystem->createBody(NxOgre::BoxDescription(55,175,30), [...] //width: 0.50, height: 1.75, depth:0.30
Body->getNode()->setScale(10);
Ball (Official)
bodyDescription.mMass = 0.45f; // 450 gr
NxOgre::SphereDescription sphere;
sphere.mRadius= 11.14;
mBody->getNode()->setScale(0.1114);
This way, Ogre and NxOgre actors are the same sizes and all are in scale with the other actors.
The problem is that it all appears to be huge, because when the 'players' appear from above the ground they fall really slow to the ground, so what would be the correct Ogre/NxOgre sizes or scale for the actors to be at 'normal' size? I'm kind of lost here so I hope you understand what I mean.