[Bf-python] get_pick_ray
Martin Poirier
theeth at yahoo.com
Thu Nov 24 21:33:20 CET 2005
--- Tom M <letterrip at gmail.com> wrote:
> Martin wrote,
>
> > Definitly not. I don't even know what
> "get_pick_ray"
> > is/would be.
> >
>
> Ah ok,
>
> it is getting the origin and direction shooting from
> the screens mouse
> position into the 3d space, and is used for picking
> an object, face,
> edge, vert, etc. Then you use standard intersection
> tests. See
> editface.c
Ah, right.
I have a function that does that for transform (taking
perspective into account).
Exporting it to BPY would be trivial.
Martin
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
More information about the Bf-python
mailing list