I don’t know how much python you know but I’ll try to explain as much of it as I understand myself.

import GameLogic as g

import math <-- import some math that isn’t normally included

from math import sqrt <-- import the squar root calculating from math (isn’t it already imported?)

c = g.getCurrentController()

o = c.getOwner()

mass = o.getMass() <-- a variable for the mass of the object (found in the logic brick section)

iv = o.iv <-- a variable loads the value of the property iv (whatever that is)

(vx,vy,vz) = o.getVelocity() <-- I don’t get this something stores the velocity of the object

fv = sqrt(vx**2 + vy**2 + vz**2) <-- calculating the total velocity for all directions combined I think

o.iv = fv <-- store that in the propery iv

a = abs(fv-iv)*60 <-- the absolute value of fv-iv (if it’s negative it gets multiplied by -1) then multiplied by 60. iv seems to be the “old” fv

f = a * mass <-- guessing f is for force…

to use it you would need an object with the property iv, possibly an integer… Maybe this is meant to be triggered by an always sensor, since I think it’s referring to it previous numbers…

what do you want to use it for? because right now it calculates the force (if that’s what the calculation does) and then trow away the number…