How to scale a models with the map?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
lisacvuk
Posts: 21
Joined: Thu Apr 17, 2014 4:50 pm

How to scale a models with the map?

Post by lisacvuk »

Well, i need to place my item on the map. I created simple cube and map. But, when i place it, the cube is always bigger than map. Is there any way to scale the cube?
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: How to scale a models with the map?

Post by CuteAlien »

You can scale meshes with the IMeshManipulator (you get it from ISceneManager) and you can scale scenenodes with their setScale function.
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
Post Reply