How can i make a SceneNode moves above a Terrain!
Posted: Sat May 06, 2006 7:28 pm
I've created a terrain object and a car object using 3dMax, and converted them into my3d, and load them separately in Irrlicht Scene.
The car named: carNode, and the terrain named: terrainNode, and also created a FPS camera in Irrlicht named: cameraNode.
Now the cameraNode collide with both terrianNode and CarNode, and i've also created a collision response animator between the car and the terrain.
But what i need now is "HOW to make the car moves ABOVE the terrain?!" ... the path is not critical here .. i just want it to move above it just like in real world, when it face a hill; it will go up, when i face a slope; it will go down.
Any help please! ....
The car named: carNode, and the terrain named: terrainNode, and also created a FPS camera in Irrlicht named: cameraNode.
Now the cameraNode collide with both terrianNode and CarNode, and i've also created a collision response animator between the car and the terrain.
But what i need now is "HOW to make the car moves ABOVE the terrain?!" ... the path is not critical here .. i just want it to move above it just like in real world, when it face a hill; it will go up, when i face a slope; it will go down.
Any help please! ....