If I change scale of the node, I noticed that physics control, attached to it, is not scaled (actually its collision shape or smth?). Is this intentional or is missing? Thanks!
Its intentional, you would have to scale the collisionshape separately but it will not be like a “growing box”, collisions will behave incorrectly when this is done. You can also scale the spatial beforehand and create the collision shape afterwards, the CollisionShapeFactory accounts for scale.
if anyone also has this problem like InShadow, just try not to use scale method. instead scale your terrain in the properties panel inside jmonkey SDK, add a static ridigbodycontroll in your terrain instead of adding it programmatically and then simply call :
[java] sceneModel = assetManager.loadModel("Scenes/levels/testlevel/testlevel.j3o");
sceneModel.setLocalTranslation(0, 0, 0);
works fine this way.