Add Modifier in GE

Hey guys- is it possible to use Python to add a Modifier to an object? Thanks-

Yes, I think so, just not while the game engine is running.

You might want to make 2 versions of your object, 1 original, and another with the modifyer applied to it, and converted to a mesh with alt-C, then just switch them when you need the other version

Thanks mmph! Well what I wanted to use it for is In-Game, where you can brouse for an image and it displaces your chosen image. Any idea why it won’t work when the Game is running??

because modifiers are not implemented in the bge