localToWorld & getWorldPosition not giving the expected value

I translate a point -1 x from 0,0,0;
I rotate it 90deg on the Y axes;
The world position of my point should be 0,0,1 but I get 0,0,0.
Can someone explain to me what I am doing wrong ?

you’re translating the geometry. Try translating the mesh instead.

Ok, thank you