How to calculate centripetal force in BGE?
import bge
cont = bge.logic.getCurrentController()

own = cont.owner

ray = own.rayCast(own.worldPosition+(own.worldOrientation.col[2]*-(actor center from feet distance)),own.worldPosition,'',0,0,0)
if ray[0]:

    if own.localLinearVelocity.x&gt;(stick speed):

        own.applyForce((0,0,9.8*own.mass),0)

        own.applyForce(own.worldOrientation.col[2]*(-own.mass*9.8),0)
        own.alignAxisToVect(ray[1],2,.5)