how to modify terrain property dynamically using keyboard?

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
maddy
Posts: 1
Joined: Thu Aug 03, 2006 7:55 pm

how to modify terrain property dynamically using keyboard?

Post by maddy »

In one among the tutorials, a water 'terrain' is created and then rendered.using this part of the code

mesh = smgr->addHillPlaneMesh("myHill",
core::dimension2d<f32>(20,20),
core::dimension2d<s32>(40,40), 0, 0,
core::dimension2d<f32>(0,0),
core::dimension2d<f32>(10,10));


and i want to modify the terrain's properties(dimensions) at runtime ........... by assigning some variables like a,b,c ........ and controlling their values at runtime using keyboard(say)

so how to do this?
Post Reply