i added a new function, (get-pos) to get the position of an object from the physics system.
i realized i was coding too early instead of thinking first again. actually the physics system writes back all the transformation info to the primitive which can be read simply like this:
define (get-pos)
    (let ([t (get-global-transform)])
        (vector (vector-ref t 12)
                (vector-ref t 13)
                (vector-ref t 14))))

i revert the git to the previous commit. sorry. hackpact pressure :). feel free to tell me if i commit useless things :).

best,
gabor

Reply via email to