Box Scale

zolver

19-12-2010 07:13:38

Dear, all..
How to scaling the box in NxOgre detritus to bigger or smaller than the origin size?
I usually draw the box like NxOgre tutorial

...........................................
Critter::BodyDescription bodyDescription;
bodyDescription.mMass = 40.0f;
mBody = mRenderSystem->createBody(NxOgre::BoxDescription(1,1,1), NxOgre::Vec3(0,15,0), "cube.1m.mesh", bodyDescription);


Thanks

betajaen

19-12-2010 09:16:49

Scale the scene node?

zolver

20-12-2010 04:28:26

yups.
How I can do it?

JKFOZZY

24-12-2010 12:30:26

Hi,
mBody->getSceneNode()->scale(x,y,z,);