Skip to main content
gamedev.net
🔒 Locked

SaveMeshtoX Problem?

Started by treeway 0 replies 300+ views
Original Post
treeway
treeway
Hi im working on a way of seprating a mesh loaded from an x file into a scene hierachy. I want have taken each individual mesh from the xfile and found its individual position by calculating its bounding box (position.x = (minX + maxX)/2 etc). I then save the mesh to a file using D3DXSaveMeshToX() . the problem is that i want it to save the mesh at position (0,0,0) but its saving it at its position in the scene. how do i make it save it at (0,0,0)?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.