template<class T>
class SimObjectPtr< T >
Smart SimObject pointer.
This class keeps track of the book-keeping necessary to keep a registered reference to a SimObject or subclass thereof.
Normally, if you want the SimObject to be aware that you have a reference to it, you must call SimObject::registerReference() when you create the reference, and SimObject::unregisterReference() when you're done. If you change the reference, you must also register/unregister it. This is a big headache, so this class exists to automatically keep track of things for you.
mOrbitObject->getWorldBox().getCenter(&mPosition);