Attaching automatically manageable resource to SceneNode
Posted: Thu Dec 22, 2016 12:20 am
I wonder if it is possible to pass shared pointer on unique pointer to AttachObject (maybe there implemented in OGRE).
Like so
And if not it would very nice to have this feature in future.
Like so
Code: Select all
void Ogre::SceneNode::AttachObject(std::shared_ptr<Ogre::Entity> object);