Resize Model afterwards

It's a stupid question, I know, but I haven't found a solution yet.

Maybe I don't understand, how the updating works…



I have a model, which size is 1.0f. Now I want to change this size to 0.5f with model.setLocalScale(size);

But nothing happens.



Hope somebody can explain me the problem



Thanks

it should work with setLocalScale().

if it doesn't, try to add an model.updateGeomtricState()

Could be the problem, that the model is inside a node?

If I change the size of the node, the model should also get smaller, right?

If not, how can I have access to the child. The model is the only child of the node

it should not be a problem, the child will inherit the scale of the node.