[fluxus] how to get position etc after being moved by the physics engine?
Dave Griffiths
dave at pawfal.org
Mon Jul 17 11:16:32 PDT 2006
> Hi all,
>
> I've got some code that splits an object in two, but the two new objects
> are always created at the origin because I don't know how to get the
> position of the original object after it has been moved around by the
> physics engine. Any clues?
does:
(grab object)
(let ((pos (vtransform (vector 0 0 0) (get-transform))))
(ungrab)
...
)
work? (you probably want the rotation too)
cheers,
dave
More information about the Fluxus
mailing list