mesh.intersect

rifter1818

Junior Contributor
Joined
Sep 11, 2003
Messages
255
Location
A cold dark place
I was having a problem trying to use the mesh.intersect method however i have solved it. I have no idea what the problem was however my solution was to create the mesh from an x file instead of from code so i guess i need to know some more about how to make a mesh from code. the current mesh was just a 150x150 square. what i was using to create the mesh was
mesh = new mesh(2,4,customvertex.positiononly.format,d3d.device)
then creating a 4 vertex array and using the mesh.vertexbuffer.setdata method. But this doesnt seem to work. Any one know of a proper tutorial on creating mesh's from code?
 
Last edited:
Back
Top