lua.wetgenes.chipmunk.body.position_func
body:position_func(position_callback)
body:position_func()
Set or clear the position callback update function for this body.
position_callback(body)
body.delta_time
This callback will be called with the above values set into body, you can adjust these and return true to perform a normal position update but with these new values.
Alternatively you can update the bodys position directly and return false so the normal position update code will not be run.