Change vertex positions real time in game engine

Hi,

I’m trying to change a mesh in the game engine in real time.
I can get the mesh from an object and I can read the vertexes of the polygons in the mesh.
It seems I can change the position of a vertex because when reading it again the next frame, the value has changed.
But the object itself does not change. I do not see any change in its mesh. Do I need to call some update function?
I also tried the replaceMesh function of the object. But that one also didn’t work.

Oeps, it does work!
I didn’t notice the change because only one face of my test cube did change and I was looking at the backside of this changing face. So that face isn’t drawn. I was assuming that all faces corresponding to the moving vertex would move and give the cube a different shape. But the vertexes of the different faces seems not to be connected and only one face changes.

Hi mechamania! Can you tell me how did you do it? I’m trying to change the position of some vertexes but when I do it the entire mesh change its position. Please help me :’(