I've tried it, but the problem is that the object is smaller then the
object on top of it. So the object on top, gets picked over the object
below it. And even if this were the case, its not guaranteed to pick
that object should it be visible.

Let me further explain my situation. Currently, I have a trident in
the scene that controls the movement of objects. These objects can't
be intersecting one another, but can get in-front of the trident's
view. The trident is still visible due to the z Offset, but the object
will be picked, not the trident when a mouseEvent3D is fired.

I can see how the pushFront, pushBack might work if nothing else was
in-front of the object, but its not quite the solution I'm looking
for. What I'm trying to figure out is if I can set an object to be
picked no matter whats in-front of it. So, like the
setChildIndex[numChildren-1]  for 2D picking in flash.

On Mar 22, 10:43 am, Pierre Karadia <[email protected]> wrote:
> have you tried:
>
> whateverYourObjectIs.pushFront = true;
>
> ??
>
> Reinorvak wrote:
> > No one has an answer for this? I'd really like to know because this
> > could potentially mean a re-write of a major system.
>
> > On Mar 19, 1:27 pm, savagelook <[email protected]> wrote:
>
> >> I just spent a day figuring out why I could see a plane in front of a
> >> cube but couldn't get any mouse events to trigger on the plane.  The
> >> answer being exactly what you said in your second paragraph.
>
> >> I'd be curious to hear the answer to this one as well.
>
> >> On Mar 19, 12:03 pm, Reinorvak <[email protected]> wrote:
>
> >>> Just curious, kinda been looking around through more away3D files in
> >>> the view3d and camera3d.
> >>> Is there any way to set a picking order to objects in the scene?
>
> >>> Like, say I have a cube within a sphere. You can see the square
> >>> because its it's own canvas and has a screenZOffset less then that of
> >>> the sphere. How do I tell the camera to pick the cube and not the
> >>> sphere if they're both at the same spot and the sphere's radius is
> >>> larger then the cube's volume.
>
> > To unsubscribe from this group, send email to 
> > away3d-dev+unsubscribegooglegroups.com or reply to this email with the 
> > words "REMOVE ME" as the subject.

To unsubscribe from this group, send email to 
away3d-dev+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to