using this code.
//to set position and rotation tentMesh.setPos(xPos,yPos,0.0f); tentMesh.rotate(0f /(float)Math.PI ,4.7f / (float)Math.PI, 0f / (float)Math.PI); tentMesh.DrawMesh(ref device);//to draw device.Transform.World = Matrix.RotationYawPitchRoll(angleX, angleY, angleZ) * Matrix.Translation(posX,posY,posZ);
[Edited by - dazscott on March 14, 2005 11:16:01 AM]