Hello
im building a world in irredit with a terrain and some houses.
Now i have modeled a character and want him to move on the map when i click on any position on the terrain.help please!!!!!!!!!!!!!
mfg
Get the terrain node's mesh (TerrainSceneNode class). Make an ITriangleSelector (in the SceneManager class, maybe an octtree one) from that mesh. If the user clicks, find a ray by using getRayFromScreenCoordinates (CollisionManager class). Get the collision point using the getCollisionPoint function (CollisionManager class). Set the entity's position to the vector3df that you specified.