Can i control objects inside a map with irrlicht?

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
hunar1997
Posts: 4
Joined: Mon Sep 26, 2016 6:36 am

Can i control objects inside a map with irrlicht?

Post by hunar1997 »

Hello .. my question title is not so clear so here is the clear one:

I saw this video https://www.youtube.com/watch?v=7ugMnrEIl6Y .. this guy made a game with Ogre3D and i downloaded it and there was a map sample .blend file and i opened it .. there were some barrels in it , and previously in the video i saw him controlling those barrels inside Ogre3D Engine to do some physic simulation .. so can i do the same with Irrlicht? i mean the controlling .. can i move or rotate an object among many other objects which the map consists of?

thanks :D
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Can i control objects inside a map with irrlicht?

Post by CuteAlien »

You can move around objects in any 3d engine. But going from Blender to Irrlicht and have a format with different objects in it might not be so easy (I never tried...). Basically you have to be aware of the difference between a model and a scene. You move around models inside a scene. But if you export from Blender you usually export everything together as a single model - in which case it's hard to move specific parts. Generally you put those models into a scene in some scene editor (or game editor) like for example irrEdit (there are many others).
Putting the scene itself together in Blender... not sure how to export. Maybe it works when using a sceneformat like collada (.dae) on export (no guarantees). Or there's also the option of writing an own exporter for Blender.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
chronologicaldot
Competition winner
Posts: 684
Joined: Mon Sep 10, 2012 8:51 am

Re: Can i control objects inside a map with irrlicht?

Post by chronologicaldot »

There is an exporter from Blender to static Irrlicht format, but I believe it may be a bit outdated. I don't know how much has changed in the Blender format to say so. It's a starting point of reference if nothing else.

Here's the original project, last post dated 2014.
http://irrlicht.sourceforge.net/forum/v ... =6&t=27073
Post Reply