Search Unity

Player Model goes under player when animation is played.

Discussion in 'Animation' started by Wontairr, Aug 21, 2021.

  1. Wontairr

    Wontairr

    Joined:
    Sep 7, 2019
    Posts:
    5
    I imported my model from blender into unity and attached it to my player prefab, but whenever i make it play an animation it goes far under the player.

    I've tried unchecking apply root motion and turning on bake into pose on the root transform rotation and position things on the animation clips.

    I'm thinking its a problem from blender, I mean all i did for my animations was make my character bob up and down for the pelvis if that's anything important.

    this error also appeared:

    ImportFBX Warnings: Mesh 'playermodel' has 1 (out of 747) vertices with no weight and bone assigned (they will be assigned to bone #0 with weight 1). The list of vertices: 267

    and I remembered that there was this one stupid vertex I couldn't weight paint over for the pelvis, so that could also be a problem.

    Any help would be appreciated!
     
  2. BrandyStarbrite

    BrandyStarbrite

    Joined:
    Aug 4, 2013
    Posts:
    2,076
  3. Wontairr

    Wontairr

    Joined:
    Sep 7, 2019
    Posts:
    5
    I mean, yeah it just goes like 10 feet under the player.
     
  4. Wontairr

    Wontairr

    Joined:
    Sep 7, 2019
    Posts:
    5
    fixed it, just kinda messed with the blend file.
     
    BrandyStarbrite likes this.
  5. BrandyStarbrite

    BrandyStarbrite

    Joined:
    Aug 4, 2013
    Posts:
    2,076