Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: laynardo on March 22, 2016, 05:05:14 PM
-
Is there a way to of getting the total width of an empty game object with nested game objects in it?
I am dynamically creating a group of objects nested within an empty parent game object. I want to get the total width of the entire group, and be able to always keep that centered on screen. To do this, I need to get the total width of the group.
-
Hi,
Yes, it's possible, however I don't think there is a custom action for this.
http://forum.unity3d.com/threads/calculating-a-bound-of-a-grouped-model.101121/
Can you ping me next week. I'll so a custom action if you haven't been able to script it.
Bye,
Jean