Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Arowx on November 06, 2012, 02:34:30 PM

Title: Inventory Object Meshes not moving with panel
Post by: Arowx on November 06, 2012, 02:34:30 PM
Hi can you help, I have a panel that animates in, and all of it's child items move with it, apart from the none GUI game objects I show as inventory items, they do not move?

Hierarchy

UI Root
-Camera
--Anchor
---Panel ( animated )
----NGUI Widgets
----Inventory Items
Title: Re: Inventory Object Meshes not moving with panel
Post by: ArenMook on November 06, 2012, 04:37:13 PM
If the widgets are children of an animated panel, they will move with the panel. Unless you have an anchor on them.
Title: Re: Inventory Object Meshes not moving with panel
Post by: Arowx on November 06, 2012, 04:41:50 PM
The NGUI sub components/widgets are moving but the game objects that are the inventory items, 3d models do not?
Title: Re: Inventory Object Meshes not moving with panel
Post by: ArenMook on November 06, 2012, 05:06:32 PM
Unless they're parented, they won't move.
Title: Re: Inventory Object Meshes not moving with panel
Post by: Arowx on November 06, 2012, 05:18:38 PM
My bad static batching enabled DOH!