Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Blender exported sword distorts on rotation when set as a child object

Discussion in 'Asset Importing & Exporting' started by Eversmann, Mar 29, 2019.

  1. Eversmann

    Eversmann

    Joined:
    May 3, 2013
    Posts:
    29
    As the title says, I tried everything I could think of (I applied the rotation, scale and location in Blender) but still if I put the sword as a child of an object it will distort when rotating it on the Z axis. Here's a screenshot of inside Unity and Blender export page.



     
  2. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,381
    Does the parent object have a non-uniform scale?
     
  3. Eversmann

    Eversmann

    Joined:
    May 3, 2013
    Posts:
    29
    It doesn't. It's set to 1,1,1. I managed to fix the issue by making my player cube with the exact same dimensions in Blender, then exporting it as .fbx and using that instead as my player model. Now it all works fine. For some reason it didn't want to work when I used Unity's 3D Cube.
     
  4. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,381
    If that was a Unity primitive cube in the screenshot that you posted, then you must have adjusted the scale to make it taller than it is wide. If the sword is a child of that object then that same scale will be applied to the sword.
     
  5. Eversmann

    Eversmann

    Joined:
    May 3, 2013
    Posts:
    29
    Yes that is the cube. Thanks for the info!