Hello,
SceneNodes use the function getCreator to access the scene it belongs to, Cameras use getSceneManager.
SceneNode::getCreator vs Camera::getSceneManager
-
- Gremlin
- Posts: 175
- Joined: Fri Sep 29, 2006 5:56 pm
- Location: Rosny Sous Bois, France
- x 11
-
- Bugbear
- Posts: 833
- Joined: Thu Apr 15, 2010 7:42 am
- Location: Poznan, Poland
- x 33
Re: SceneNode::getCreator vs Camera::getSceneManager
SceneNodes can be detached and moved acress several scene managers along with Entities. Cameras are not meant to do that.
Sos Sosowski
http://www.sos.gd
http://www.sos.gd
-
- Gremlin
- Posts: 175
- Joined: Fri Sep 29, 2006 5:56 pm
- Location: Rosny Sous Bois, France
- x 11
Re: SceneNode::getCreator vs Camera::getSceneManager
ok i didn't know that, so it's logic.