pra
10-05-2010 20:24:40
The Question is a simple one: In the new OgreNewt, Collision Primitives have constructors like:
is this id used for anything besides collision->getUserId()? It is in the default (and only) constructor and has no default value, for me this looks like something relatively important. Is it important?
If no, why not make it = 0 by default and/or add a constructor without it? If yes, what should I set it to?
Box( const World* world, const Ogre::Vector3& size, [b]int id[/b], const Ogre::Quaternion& orient = Ogre::Quaternion::IDENTITY, const Ogre::Vector3& pos = Ogre::Vector3::ZERO );
is this id used for anything besides collision->getUserId()? It is in the default (and only) constructor and has no default value, for me this looks like something relatively important. Is it important?
If no, why not make it = 0 by default and/or add a constructor without it? If yes, what should I set it to?