hi there
i'm working on 3d user interface that features circular buttons.
as i'm not into 3d modeling, i'm planning to use simple rectangles with a circular texture and have the outer parts transparent
the problem is to check if the mouse hovers across such a widget:
a ray cast from mouse position into the scene should be the solution, but it would cause a collision even if the transparent part of the texture is being hit
is there a way to have a boundingsphere around a scenenode or something like it? or any other simple way to solve this problem...?
thanks for any help
warden
collision with a sphere
-
- Posts: 370
- Joined: Mon Aug 29, 2005 10:54 pm
- Location: http://web.utk.edu/~pfox1