collision.hitPosition ?

i understand that collision.hitPosition has been added to the API, but how is it used, i read BluePrintRandom’s thread but all i got from that is that it is not linked to a sensor, i thought it might be accessed like so:

collision = cont.sensors[“collision”]

if collision.positive:
object.worldPosition = collision.hitPosition

or even without the use of an if statement, but that doesn’t seem to be the case.

its being investigated, its not in yet, Sybren told me he would
look into it and to add a task to blender and assign it to him.

for now you need to use a callback he added


def on_colliding(other, point, normal):
    print("Colliding with %s at %s with normal %s" % (other, point, normal))

game_ob.collisionCallbacks.append(on_colliding)

https://developer.blender.org/T44051