Hello, I'm trying to rotate a mesh on a irrlicht generated terrain. I succeeded in rotate my mesh in the Y axis for the direction, and I have the normal of the terrain's triangle where the mesh is. Do you have an idea or a solution ? Thanks !
Here some pictures of my problem :
http://img293 ...
Search found 7 matches
- Sun Nov 14, 2010 10:51 pm
- Forum: Beginners Help
- Topic: mesh rotation
- Replies: 0
- Views: 519
- Tue Sep 07, 2010 9:38 pm
- Forum: Beginners Help
- Topic: Problem with the mesh inclination
- Replies: 10
- Views: 1288
- Sun Sep 05, 2010 6:39 pm
- Forum: Beginners Help
- Topic: Problem with the mesh inclination
- Replies: 10
- Views: 1288
- Fri Sep 03, 2010 5:45 pm
- Forum: Beginners Help
- Topic: Problem with the mesh inclination
- Replies: 10
- Views: 1288
- Tue Aug 31, 2010 7:01 pm
- Forum: Beginners Help
- Topic: Problem with the mesh inclination
- Replies: 10
- Views: 1288
- Sun Aug 29, 2010 8:35 pm
- Forum: Beginners Help
- Topic: Problem with the mesh inclination
- Replies: 10
- Views: 1288
- Wed Aug 25, 2010 3:24 pm
- Forum: Beginners Help
- Topic: Problem with the mesh inclination
- Replies: 10
- Views: 1288
Problem with the mesh inclination
Hello,
I succeed in having the normal of a plan, to inclinate my mesh, like this :
// Rotations in X and Z (for the terrain)
// Refresh
modelPosition = _model->getPosition();
modelRotation = _model->getRotation();
verticalLine.start = antPosition;
verticalLine.end = antPosition ...
I succeed in having the normal of a plan, to inclinate my mesh, like this :
// Rotations in X and Z (for the terrain)
// Refresh
modelPosition = _model->getPosition();
modelRotation = _model->getRotation();
verticalLine.start = antPosition;
verticalLine.end = antPosition ...