how to create a visual plane ?

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
kevinlynx
Posts: 24
Joined: Mon Jun 18, 2007 3:45 pm

how to create a visual plane ?

Post by kevinlynx »

Hi,
but how to create a visual plane in Irrlicht ? I search in the api docment, but i donot found any plane mesh class. I know if i really donot find any directly solutions, i can create a manual object like tutorial 3. Before that, i want to make sure whether there isnot any directly solution ?

Thanks.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

smgr->addHillPlaneMesh is what you are looking for (1x1, no hills)
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
kevinlynx
Posts: 24
Joined: Mon Jun 18, 2007 3:45 pm

Post by kevinlynx »

bitplane, thank you . Before your post, i created a plane using

Code: Select all

	ISceneNode *node = smgr->addCubeSceneNode( 10, 0, -1, vector3df( 0, 0, 0 ), vector3df( 0, 0, 0 ),
		vector3df( 100.0f, 0.1f, 100.0f ) );

But i think your way is better . :)
Post Reply