[Fluxus] small commit

gabor papp gabor.lists at mndl.hu
Mon Sep 7 23:41:24 PDT 2009


> 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




More information about the Fluxus mailing list