Spehre forcefields in bge

Hello!
So we all know now that we can make a linear forcefield using materials now. But i was asking if its possible to make a forcefield thats pushing away in all directions. This could be used for explosions ( shockwave ).
Is this possible and if yes how can i do it?

It wouldn’t be that hard using python… all you need is to get the vector of the object then apply the the force in that vector…

Collision --------python

import bge
cont = bge.logic.getCurrentController()
own = cont.owner
collision = cont.sensors['Collision']
mult = 20
if collision.positive:
    for objects in collision.hitObjectList:
        objects.applyForce((objects.worldPosition-own.worldPosition)*mult,0)

If a tutorial would be better.

And while we are at it spice it up also with this: