I am working on a collision model. I used Blender and do the model-import und setup, like it is descibed here TUTORIAL-Sketchup-tutorial-for-LOD-and-Collision-meshes-(not-visible-mesh-collisions) Where i run the game after import, the collision works perfectly. But every time i restart the map, i get the error Failed to create ressource Scheibenberg_col.dae or Failed to create ressource Scheibenberg_col.cached.dts. These files are the collision model, which i import as a new detail shape in shape editor. Anyone who can help? EDIT i found the solution myself. The automated created CS-file pointed to the wrong resource path. I had to change the addMesh function, like showed. before Code: function ScheibenbergDae::onLoad(%this){ %this.addMesh("SketchUpB 3", "Scheibenberg_col.dae", "SketchUpB 3"); %this.addMesh("SketchUp 3", "Scheibenberg_col.dae", "SketchUp 3"); %this.renameDetailLevel("detail3", "collision3"); %this.setDetailLevelSize("3", "-1"); %this.renameObject("SketchUpB", "Colmesh-1"); %this.renameObject("SketchUp", "Colmesh-2"); %this.setObjectNode("Colmesh-2", "SketchUp"); %this.addImposter("0", "6", "0", "0", "128", "0", "0"); } after Code: function ScheibenbergDae::onLoad(%this){ [B] %this.addMesh("SketchUpB 3", "levels/Test1/art/shapes/turm/Scheibenberg_col.dae", "SketchUpB 3");[/B] [B] %this.addMesh("SketchUp 3", "levels/Test1/art/shapes/turm/Scheibenberg_col.dae", "SketchUp 3");[/B] %this.renameDetailLevel("detail3", "collision3"); %this.setDetailLevelSize("3", "-1"); %this.renameObject("SketchUpB", "Colmesh-1"); %this.renameObject("SketchUp", "Colmesh-2"); %this.setObjectNode("Colmesh-2", "SketchUp"); %this.addImposter("0", "6", "0", "0", "128", "0", "0"); }
yes, I guess you missed that bit of my video. If you had watched it all you would have seen me edit the .cs file to correct the file paths. Glad you fixed it anyway. I think I will remake that tutorial soon. It needs improving to make the steps clearer. I was leading the blind with my own eyes shut when I made it.