transformation - How to link two scene nodes in Ogre? -
i know it's unusual way search kind of feature, is possible set automatic transformations link 1 scenenode other ?
for example, if link scenenode scenenode b, , if apply translation on scenenode a, scenenode b has receive same translation. if scenenode b child of scenenode a. it's not.
?
the general idea this:
::ogre::scenenode* childscenenode = parentnode.createchildscenenode()
then child scene node inherits transformations parent. move parent , child moves too.
Comments
Post a Comment