Adding a Non-Active Camera
Adding a Non-Active Camera
Is possible to add a camera node to an Irrlicht scene node without activating it?
no, a new added camera gets always the active camera...
but you can set another camera active again so the new camera is inactive...
but you can set another camera active again so the new camera is inactive...
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
I hoped that I didn't have to do it manually. The reason I wanted it automatic is that my code first sets a custom camera on a spinning logo and then proceeds to load the entire scene. The loading process includes adding several cameras, and I didn't want to reset the camera after every new one.Acki wrote:no, a new added camera gets always the active camera...
but you can set another camera active again so the new camera is inactive...
Thank you for the reply though. I think what I'll just do is load all of the cameras at the end, after the entire scene is loaded. That way it won't matter that the new cameras take over.
Added to feature requests:hybrid wrote:Hmm, this sounds like a viable situation, so we should check if a check in the deserialization would help here. Or maybe we should store if a camera is active upon serialization and deserialize that way. Could you please file a bug ticket so we can track this issue? Thanks.
https://sourceforge.net/tracker/?func=d ... tid=540679