Cube question

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
Panos
Posts: 14
Joined: Wed Jan 17, 2007 6:00 pm

Cube question

Post by Panos »

Hi guys!

In my project,I use models following splines.

I want to draw small cubes in each spot of their path but the CubeSceneNode add a big cube.

Can it become smaller?

Thanks
Java rules!!!
olivehehe_03
Posts: 157
Joined: Tue Mar 20, 2007 8:30 am

Post by olivehehe_03 »

Check the documentation...
virtual ISceneNode* irr::scene::ISceneManager::addCubeSceneNode ( f32 size = 10.0f,
ISceneNode * parent = 0,
s32 id = -1,
const core::vector3df & position = core::vector3df(0, 0, 0),
const core::vector3df & rotation = core::vector3df(0, 0, 0),
const core::vector3df & scale = core::vector3df(1.0f, 1.0f, 1.0f)
) [pure virtual]
Tell me what you cherish most. Give me the pleasure of taking it away.
Panos
Posts: 14
Joined: Wed Jan 17, 2007 6:00 pm

Post by Panos »

There is setScale...I hadn't noticed that in docs... :oops: :oops:

Sorry for this silly topic... :oops: :oops: :oops:
Java rules!!!
Post Reply