x


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.

more ▼

asked Aug 10 '10 at 03:44 PM

Triple gravatar image

Triple
12 1 1 2

(comments are locked)
10|3000 characters needed characters left

4 answers: sort oldest

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.

more ▼

answered Aug 10 '10 at 05:04 PM

qJake gravatar image

qJake
11.6k 43 78 161

(comments are locked)
10|3000 characters needed characters left

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.

more ▼

answered Aug 10 '10 at 07:31 PM

Ony gravatar image

Ony
888 29 36 48

(comments are locked)
10|3000 characters needed characters left

@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.

more ▼

answered Aug 10 '10 at 08:47 PM

Triple gravatar image

Triple
12 1 1 2

Please don't post comments as answers.

Aug 11 '10 at 02:24 AM Eric5h5
(comments are locked)
10|3000 characters needed characters left

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.

more ▼

answered Aug 11 '10 at 01:47 AM

Cyb3rManiak gravatar image

Cyb3rManiak
1.6k 1 4 17

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2077
x291
x204

asked: Aug 10 '10 at 03:44 PM

Seen: 1139 times

Last Updated: Aug 10 '10 at 03:44 PM