Loading Collada files - NullPointerException?

Hi again,



I use the following code to load a collada model:


public Node loadColladaModel() {

I wish people wouldn't take all of the lines in the collada test as the exact lines I will need for my game.  :)  The only line universal is the ColladaImporter.load(…); line.  Every other line, such as pulling out skins, bones, etc. depends on the model you are loading.  (iow, the test is making assumptions about the model that may not be true for your model.)

Give ModelLoader a try…it generally seems to work. :wink:

renanse said:

I wish people wouldn't take *all* of the lines in the collada test as the *exact lines I will need for my game*.