Object Picking.
by RTS - Real Time Solutions · in Torque Game Builder · 02/09/2006 (10:36 am) · 1 replies
Hello ppl.
I am right now developping a new project using the T2D.
In this game, the user is supposed to be able to pick objects using the mouse. The picking must be
the most precise possible and the pickable sprites are animated. That means that we need a way to create
somewhat complex polygons and actualize them while animating. Its seems to be very time consuming
to create all the vertices by hand for each frames of our sprites.
There is any other more pratical solution for our problem?
Thanks in advance.
I am right now developping a new project using the T2D.
In this game, the user is supposed to be able to pick objects using the mouse. The picking must be
the most precise possible and the pickable sprites are animated. That means that we need a way to create
somewhat complex polygons and actualize them while animating. Its seems to be very time consuming
to create all the vertices by hand for each frames of our sprites.
There is any other more pratical solution for our problem?
Thanks in advance.
Torque Owner Chris Labombard
Premium Preferred
I recently tried to implement a selection system using the mouse selection tutorials. I had to select a small rectangle next to a bunch of others.... the selection code returned 4 of the rectangles (abdout 5x20 pixels each).
I had to switch to a new method. The return code was't precise enough. it probably used some kind of bin system.