Thanks for your time, but I think that I will go with a ctrl+click
multi-selection solution.

Cheers
Kostas

On Wed, Apr 21, 2010 at 10:29 AM, Fabrice3D <[email protected]> wrote:

> there is no solution out of the box for this.
> yet its not that hard.
> you need to transform objectspace of the faces to camera transform, then
> project the vertexes to a plane3D
> and see if they fit into the rect you also project on that plane3d, or
> calculate the 2d projection of the vertices and check if they fit into the
> 2d rect defined by your 2d mouse rect
> similar code is used for the mouse3Devent. Look at the way screenX and Y
> are calculated.
>
> Fabrice
>
> On Apr 20, 2010, at 6:57 PM, Konstantinos Anatolitis wrote:
>
> And then which function do I use instead of hitTestObject?
>
> On Tue, Apr 20, 2010 at 6:37 PM, Fabrice3D <[email protected]> wrote:
>
>> yes its same principle
>> except you need to project the 2d rect of your selection onto the 3d.
>>
>> Fabrice
>>
>> On Apr 20, 2010, at 5:09 PM, Konstantinos Anatolitis wrote:
>>
>> > http://www.rascal.gr/demos/neoset/3d/
>> >
>> > I'm creating the above application with away3D and I was wondering if
>> > it's possible to have a multiple items selection tool.
>> >
>> > I know how to make a 2D one, creating a rectangle while dragging and
>> > on mouse up checking for hitTest between the rectangle and the
>> > movieclips that are on the stage.
>> >
>> > Is this possible with 3D objects instead of movieclips (display
>> > objects) ?
>> >
>> > Thanks
>> >
>> > Kostas
>> >
>> >
>> > --
>> > Subscription settings:
>> http://groups.google.com/group/away3d-dev/subscribe?hl=en
>>
>>
>
>

Reply via email to