I have a subdivided plane I want to act as a niveau map.
I want to change the niveau extremes' locations and want the map to display the niveau in the form of z=f(x,y) with x,y as the location of a significant niveau point and want to plot z to the plane with a function f of my choosing.
How can I change and apply the vert's location (z value)?
1) I'd like the changes to be real time. I'd like to show the movement of the niveaus with it.
2) Because of that they need to happen while the game runs
3) Yes I tried to find and change the objects vertices like this:
bpyobject=bpy.data.scenes[scenename].objects[bgeobject.name] for vert in bpyobject.data.vertices: vert.co=vert.co+1 bpyobject.data.update()
But this only updates the mesh after the game engine ends.