I am using version "0.16.2.0" for WP7 and trying to call method "TriangleMesh.GetVerticesAndIndicesFromModel". FormatException is thrown.
I thought that it is a problem in my ".fbx" file. But then I took a file from project "BlocksExplodeYourCastle". File name is "castleCollision.fbx". And this file is loaded in this project with "TriangleMesh.GetVerticesAndIndicesFromModel" method. It is loaded successfully.
Then I have tried to load the same file in my test project and "FormatException" is also has thrown. Than I have noticed that in "BlocksExplodeYourCastle" project an older version of BEPUphysics is used: "0.16.0.0" (for Windows).
It seems there is a bug in new version.
I thought that it is a problem in my ".fbx" file. But then I took a file from project "BlocksExplodeYourCastle". File name is "castleCollision.fbx". And this file is loaded in this project with "TriangleMesh.GetVerticesAndIndicesFromModel" method. It is loaded successfully.
Then I have tried to load the same file in my test project and "FormatException" is also has thrown. Than I have noticed that in "BlocksExplodeYourCastle" project an older version of BEPUphysics is used: "0.16.0.0" (for Windows).
It seems there is a bug in new version.