PDA

View Full Version : Layered Objects in a scene.



John_V
05-09-2002, 07:05 PM
I'm having a problem with objects in a scene. There are several objects that are layered and have 'actions' to 'bring forward' when the object is clicked. The problem is that, where the objects overlay eachother seems to be transparent and when you click in this overlapping area, the 'bring forward' action brings the incorrect object to the front.
Any ideas?

KimberlyH
05-10-2002, 08:23 AM
When layering several objects (that hold actions) one on top of another, it is important to make sure that only one object is enabled at a time. For example, if you have two buttons, one on top of the other and when you click on the top one, you want the back one to come to front and be enabled, you would have to assign three actions to each button. The actions would be:

Bring to Front - other object
Enable - other object
Disable - initial object

If you have several objects that are being hidden and shown or enabled and disabled, you may want to consider using a Group Object and grouping all the Objects. Then when you perform your actions, you can initially disable the Group Object and then enabled only the object you wish to be in front.

I hope this helps.