joarley
09-07-2010 16:55:44
Hi everybody,
I have a fisrt person camera collider and I'm using a sphere shape to represent the collision model. I create my body as follows:
In order to run some tests, I'd like to resize at run time my body by changing its radius in SphereDescription . I'm currently setting the radius like this:
Can anyone help me out here?
Thanks
I have a fisrt person camera collider and I'm using a sphere shape to represent the collision model. I create my body as follows:
Critter::Body* mCamBody = mRenderSystem->createBody(mSphereDesc, NxOgre::Vec3(0,0,0), "sphere.mesh", mBodyDesc);
In order to run some tests, I'd like to resize at run time my body by changing its radius in SphereDescription . I'm currently setting the radius like this:
mSphereDesc.mRadius = newRadius;
But it causes no effect.Can anyone help me out here?
Thanks