x


How Do I Change The Transform Data For Each Object?

How do I change where the XYZ arrows are pointing on each object without rotating or moving the objects to match them such as like if a human model has the data generally the Z axis is always pointing out towards from the face of the human object like this eg. here.

more ▼

asked May 01 '11 at 05:32 AM

user-9203 (google) gravatar image

user-9203 (google)
16 6 7 7

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

1 answer: sort voted first

You can only actually set that up inside the modeling program you are using.

There is a trick to work around it though. The object you want to change the axis on I'll call ObjectX:

  • create an empty GameObject
  • make the empty GameObject the child of ObjectX
  • reset the Transform of the empty GameObject (it should now center ObjectX)
  • unparent the empty GameObject
  • rotate the empty GameObject so that it's axis are the way you'd like them to be on ObjectX
  • make the empty GameObject the parent of ObjectX

now if you for instance move the empty GameObject transform.forward it will go forward the way you'd expect it to (facing forward) instead of the way it was modeled to. Also, I remember following this very tutorial ages ago and also got really frustrated about them not explaining this bit.. >:(

Good luck with the tutorial!

more ▼

answered May 01 '11 at 05:54 AM

Joshua gravatar image

Joshua
6.5k 19 25 72

(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:

x2169
x1330
x329
x141
x10

asked: May 01 '11 at 05:32 AM

Seen: 919 times

Last Updated: May 01 '11 at 05:32 AM