Model too small when loaded

Hi,

    Using TestMilkJMEWrite I have imported a milkshape model. When the model is initially loaded, it is like a small point on a black screen. Using the 'w' button brings it closer and as a result makes it more visible. But further pressing the same button makes it go out of the scene without actually becoming full size on screen. Is there any way to get the model enlarged as and when it gets loaded ? I want this because I have merged this with swing components, and am not able to use keys to control the model.



Thank you,

Pranav

Perhaps you simply need to modify your node scale?



yourLoadedMilkshapeModel.getLocalScale().multLocal(10.0f);



This might bring you some trouble later on, so I recommend you to use an intermediate node to do that transformation. Something like:



Node transformedNode = new Node();

yourLoadedMiklshapeModel.getLocalScale().multLocal(10.0f);

transformedNode.attachChild (yourLoadedMiklshapeModel);



Hope it helps.