[Bf-committers] mouse pointer in blender

Xavier Thomas xavier.thomas.1980 at gmail.com
Fri Apr 22 17:32:10 CEST 2011


Hi,

I don't want to be rude but if this is for any kind of game you should
ask in a user forum (and use a raycast from the camera position in the
direction of the mouse click ). If this is for Blender editors than
you should check some of the base operator that does similar thing
(selection operator?) and reuse the code that can be reused.

Xavier

2011/4/22 Yuniel Castro González <ycastrog at estudiantes.uci.cu>:
> Hi.
> I need to know what is the polygon that is pointing the mouse pointer, for example, if I have a cube I need to get the id of the face is pointing the mouse pointer.
> Thanks.
>
> --
>
>
>
>
>
>
>
>
> Yuniel
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list