x


Maya import into Unity, pivot off center

Hi. I have a helicopter, with working blades I made in maya 2011. I use Daefbx to import to Unity. One problem. While in Maya, the copter blade mesh has a pivot exactly in the center (as well as the tail blades). When it's in Unity, the pivot (the thing where you see either arrows (move) circles (rotate) or squares (scale)) it is not where it is in Maya. It is to the left and down, or something like that. Is there a way to fix this in Unity OR Maya? If I try to animate the blades with this problem, of course they go out of their way, and I have to spend the animation every few frames moving them back to "center."

more ▼

asked Mar 17 '11 at 02:41 AM

Bill Struwe gravatar image

Bill Struwe
14 3 3 8

I looked through answers, and I found a similar problem, but the solution DIDN'T Work! It said to click the buttons next to tools : Pivot/Center, Global/Local. It makes it worse.

Mar 17 '11 at 02:46 AM Bill Struwe

are the pivots orientation (that is to say their rotation) coming in the same? Try offsetting the pivot in maya the amount it moves in unity so that when it comes into unity its in the right place.

Mar 17 '11 at 03:12 AM AngryOldMan
(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

Have you freeze transformed your blades in maya? Freeze transform then delete history. It might work. =)

more ▼

answered Mar 17 '11 at 03:16 AM

Nolirneen gravatar image

Nolirneen
142 5 9 18

Thanks for the suggestion, but it did not work.

Mar 17 '11 at 10:13 PM Bill Struwe
(comments are locked)
10|3000 characters needed characters left

Hello!

I just had a problem like that: I had an object witha a simple animation, tilting back and forth around its joint's pivot in Maya. When I exported the first time, its rotation was out of place in Unity. I tried hiting the Local/Global - Pivot/Center buttons, but it wouldn't help anyway... The animation must be imported and played right immediately in Unity. So, I went back into Maya and tried this:

  • In the viewport options, go to Show/Joints to see the joints in the scene
  • Select the mesh of the object
  • Hold down the "D" key to show the mesh pivot
  • Then, hold down "V" in order to align it with the joints
  • Move the pivot until it's perfectly aligned with the joint you want
  • Export .fbx again
  • Import in Unity
  • Hit Play to test

It did work here, and I hope this helps you too!

more ▼

answered Jan 18 '12 at 12:58 PM

carlosaandres gravatar image

carlosaandres
1

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

Hello!

I just had a problem like that: I had an object witha a simple animation, tilting back and forth around its joint's pivot in Maya. When I exported the first time, its rotation was out of place in Unity. I tried hiting the Local/Global - Pivot/Center buttons, but it wouldn't help anyway... The animation must be imported and played right immediately in Unity. So, I went back into Maya and tried this:

  • In the viewport options, go to Show/Joints to see the joints in the scene
  • Select the mesh of the object
  • Hold down the "D" key to show the mesh pivot
  • Then, hold down "V" in order to align it with the joints
  • Move the pivot until it's perfectly aligned with the joint you want
  • Export .fbx again
  • Import in Unity
  • Hit Play to test

It did work here, and I hope this helps you too!

more ▼

answered Jan 18 '12 at 12:58 PM

carlosaandres gravatar image

carlosaandres
1

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

x3776
x970
x400
x84

asked: Mar 17 '11 at 02:41 AM

Seen: 2505 times

Last Updated: Jan 18 '12 at 12:58 PM