- Home /
How to translate multiple selected gameObjects with exact numbers.
Hi everyone,
I was hoping you could help me with the following:
If you select multiple gameObjects, you can use the move/rotate/scale-tools to chance their Transform values simultaneously as if they were one gameObject from within the scene-view.
However, when I tried to input exact numbers into the inspector, only the last selected object would change. Is there a way to change the location/rotation/scale-values numerically instead of using the scene view?
Thanks in advance.
Answer by Ony · Aug 10, 2010 at 07:31 PM
I know this isn't exactly what you're asking for, but you can move them all into container object and move that where you need it. Everything inside will move accordingly.
Answer by qJake · Aug 10, 2010 at 05:04 PM
You cannot modify multiple Game Objects via the inspector (in any way) at the same time, you can only, as you have already discovered, drag them around the world.
Answer by Cyb3rManiak · Aug 11, 2010 at 01:47 AM
You can write an editor script to do it. Shouldn't be that hard either. It can even be an editor window right under the inspector that looks and feels exactly like the real deal if you really want something like that and it's important for your day to day work.
Check out http://unity3d.com/support/documentation/ScriptReference/EditorWindow.html if you're interested.
Answer by Triple · Aug 10, 2010 at 08:47 PM
@SpikeX: Thnx for the answer. Too bad it isn't possible. Could save people a lot of time at certain times I think.
@Jak: That can indeed be a good workaround for movement at least.
Your answer
Follow this Question
Related Questions
help with gameObject.translate 1 Answer
How to make a object translate alonge an other 2 Answers
How to make this kind of control ? 2 Answers
Moving a GameObject to a certain point in world space via script 1 Answer
Is this doable in unity 2 Answers