Search found 7 matches

by mr.xyz
Sun Nov 14, 2010 10:51 pm
Forum: Beginners Help
Topic: mesh rotation
Replies: 0
Views: 519

mesh rotation

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 ...
by mr.xyz
Tue Sep 07, 2010 9:38 pm
Forum: Beginners Help
Topic: Problem with the mesh inclination
Replies: 10
Views: 1288

I didn't suceed, in fact i forgot to change the french topic's status..

I suceed to have the normal of the terrain face in contact with the mesh, but i don't suceed to incline my mesh with it :(
by mr.xyz
Sun Sep 05, 2010 6:39 pm
Forum: Beginners Help
Topic: Problem with the mesh inclination
Replies: 10
Views: 1288

[This message is in French, to help mr.xyz who are French and have some difficulties with English]



vous peu que je suis heureux de vous aider à gérer moi marmite vous obtenez un vecteur normal perpendiculaire à l'appendice auriculaire à la surface de thé à Téhéran, qui cuisent à une prune robe ...
by mr.xyz
Fri Sep 03, 2010 5:45 pm
Forum: Beginners Help
Topic: Problem with the mesh inclination
Replies: 10
Views: 1288

Up please !
by mr.xyz
Tue Aug 31, 2010 7:01 pm
Forum: Beginners Help
Topic: Problem with the mesh inclination
Replies: 10
Views: 1288

Up please :)

Excuse me for my english, i can't find how to make pitch and roll for my mesh, I searched that on a lot of forums but nothing ... I you have some links please :)
by mr.xyz
Sun Aug 29, 2010 8:35 pm
Forum: Beginners Help
Topic: Problem with the mesh inclination
Replies: 10
Views: 1288

[I want to incline a mesh in function of a irrlicht-generated terrain. My mesh is like a car, it's a ant by the way. So I succeeded in having the terrain's normal in the ant position. I success to incline my mesh in the Y axis (for the direction) but no in the X and Z axis (for the inclinaison ...
by mr.xyz
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 ...