Full disclosure, I am newb and dumb.

So long story short, I got a model someone else made and chopped it up into multiple meshes for exporting to Unity and animation. When I got to Unity I found that things were off and I think it's because all the origins for my individual meshes are still at the center of the original model. So I tried moving all the origins to the center of their respective mesh but this changes the location. There is also a black line connected to the previous origin location when I move it no matter what method I use. So I try to apply the location to zero everything out because that what people say to do and the origin jumps back to where it was before. The black lines lead me to assume this is due to some sort of parenting hierarchy so I press all the clear parent buttons I can find, delete all my armatures, and still nothing works. Can't even get rid of the black lines.

I give up. What the hell is going on? How do I move the origin of a mesh and zero out the transform? Everything I can find on the subject makes it so simple. Like I'm the only person who failed Blender 101. I can move the origin. I can apply the transforms. I can't seem to do both at the same time. Also, why am I getting black lines when I move the origin? I don't see this happen when other people do it. Help me.

This is this dreaded black line and location after I moved the origin to geometry and cleared all possible parents

EDIT: So I got rid of the black lines by clearing the parents of the meshes' children, but this did not solve my problem of applying the location with out the origin moving back. I guess I should ask if I even need to zero out the location. What is the reason to do so and will I run into more problems if I don't?

  • 1
    $\begingroup$ Origins can be tricky, especially when exporting to other programs. I'm not sure about this, but I think you're better off leaving them where they were (even after separating) instead of resetting them back to 0,0,0. One thing to consider is that blender operates with Z-up and Unity operates with Y-up - you can specify this in the export options I believe, to compensate. Have you done this? $\endgroup$ Jun 17 at 5:55

Okay, so, I don't know what I'm saying, but, I used to export meshes from Blender to Unreal Engine way back then and I faced sort of the same issue. If you don't want the long explanation of what you already have in the question, read only the bold parts XD

In order to make you understand, we might have to look at some cases but before that from what I understand, you have a 3D model of a skateboard and for whatever reason, you chopped it up to multiple pieces (such a sinful act XD) to export it to unity.

When you chop stuff up in Blender, the origin point does not change, so what you might have right now, is chopped-up pieces of skateboard with each piece having their origin points overlapping each other, probably at the world center.

Now if you export this to unity, you'll get exactly what you see in Blender, I think.

But you don't want this, you're not satisfied by this huh? Such a perfectionist... XD

Oh well, happens to everybody, so, you start moving the origin of each mesh from the center of the world to their own individual center of geometry. So now you don't have overlapping origins but each one on its own mesh. But if you export as is to unity, you'll get the previous result, I guess like every origin will be at the center of the world in unity...

Darn it

So you come back to blender and apply All Transforms, and there you go, all origins jump back to the center of the world. Congratulations, officially, you've gone crazy.

What you need to know is that this is exactly what applying the location is supposed to do. Take the origin point and put it in the world center, at least from what I understand.

What I used to do is,

1. Keep the origin where I want, here, in the center of each mesh

2. Make sure your 3D cursor, is at the center of the world (Shift+S => Cursor to world origin)

3. Select one mesh, Shift+S => Selected to cursor

4. Do this for all the parts, then export it

5. Press Ctrl+Z multiple times to make everything return back to normal position

6. When you import it into unity, you'll have what you need, but then again, you'll have to rearrange your skateboard to make it look like a skateboard

7. Go back to Blender, copy the location (rotation if needed), of each object and paste it into unity's coordinates.

Again, this is what I used to do way back then, now if there are any other easier ways, somebody pls help him out, but if you can't find any help, and since this is a small object, I think this should work out


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.