4
« on: May 30, 2013, 02:12:01 PM »
I'm having an issue where I have a prefab with a UIDraggablePanel with preset bounds. On this prefab I have a 3D model which has a number of transforms which I need to dynamically add new prefabs to.
When I add these prefabs, make them children of the transforms and then set their local position to 0,0,0 the bounds for the draggable panel act differently, specifically extending off into the left direction. It is the local position change that does this, as when I remove that line, the bounds do not change. I will get different results based on the number of prefabs I add to the transforms.
Is there something I'm doing wrong here? How can I ensure the bounds (despite not changing in value) operate the same when I add these child prefabs?