In-engine deformation

I have been wondering for a while whether it is possible to deform a mesh in the game engine. Is there a way to make real-time deformations other than animations? Say I wanted to shoot a hole in the wall, is there a way to remove vertices?

Removing vertices may be hard, but what I really want to know is whether I can dent or bend an plane just with forces originating in the game engine.

Thanks in advance for anyone who takes the time to answer.:slight_smile:

I don’t think that is possible with out some clever scripting. But what you might be able to do is use armature to deform a mesh. Give it a try.

only way to deform something is with an IPO or an armature.

With the armature deform, is there any way to make them move in the game without IPOs? That’s the main thing I was trying to ask.

What I mean is, if I were to tell an armature to move down would there be a way of making just the vertices around it to move as well?

You can’t make or delete vertices in game, but you can move them using Python.

Edit: Look at this thread and download the VertexShadow.blend. In that blend the vertexes are recolored using python but there are also some comands to get/set the position of the vertices in game.

http://blenderartists.org/forum/showthread.php?t=106845