danoli3
08-11-2009 05:16:53
Hello,
I'm trying to either Delete and Make a new volume in with reinitialisation of a object or Move the volume without massive warnings.
I can't find anyway to delete it at the moment that works.
Moving gives me so many errors.. since I'm moving 304 volumes, its a lot of errors in the log...
I was wondering why the errors in the first place?
I am only moving them once... say for reinitialisation of a game level for random placement.
Is this okay? How can I remove these warnings if okay?
Code for my volume:
Code that I am currently using to move our volume apon reinit
I'm trying to either Delete and Make a new volume in with reinitialisation of a object or Move the volume without massive warnings.
I can't find anyway to delete it at the moment that works.
Moving gives me so many errors.. since I'm moving 304 volumes, its a lot of errors in the log...
I was wondering why the errors in the first place?
I am only moving them once... say for reinitialisation of a game level for random placement.
Is this okay? How can I remove these warnings if okay?
Code for my volume:
// create our volume
pClothesVolume = pPhysicsScene->createVolume( new NxOgre::Box( 5 ),
NxOgre::Matrix44(NxOgre::Vec3(position.x, position.y, position.z)),
this, NxOgre::Enums::VolumeCollisionType_All );
Code that I am currently using to move our volume apon reinit
// move our volume
pClothesVolume->setGlobalPosition(NxOgre::Vec3(position.x, position.y, position.z));