Code: Select all
mFollowNode->attachObject(mCamera);
Code: Select all
OGRE EXCEPTION(2:InvalidParametersException): Object already attached to a SceneNode
Any one have any ideas what the problem might be, or how i should go about debugging it?
Code: Select all
mFollowNode->attachObject(mCamera);
Code: Select all
OGRE EXCEPTION(2:InvalidParametersException): Object already attached to a SceneNode
I'm pretty sure Ogre gives you the name of the attached object with that exception, did it?capture wrote:Code: Select all
OGRE EXCEPTION(2:InvalidParametersException): Object already attached to a SceneNode
Code: Select all
08:07:22: OGRE EXCEPTION(2:InvalidParametersException): Object already attached to a SceneNode or a Bone in SceneNode::attachObject at e:\ogre3d\ogrenew\ogremain\src\ogrescenenode.cpp (line 127)