Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Weapons rendering through the Humanoid Avatar?

Discussion in 'Animation' started by decoy98, Sep 20, 2020.

  1. decoy98

    decoy98

    Joined:
    Aug 30, 2011
    Posts:
    36
    Hi everyone,

    I was wondering how do I ensure that weapons aren't rendering through my model? I have a Humanoid Avatar which I am attaching a weapon however when animation plays it renders through my model and makes it look strange. Is there anyway I can fix the configuration so it doesn't do it?

    To reproduce, create a humanoid model and place the weapon here:
    mixamo-rig.png

    Here are some examples of the weapon rendering through the model.
    error-1.png error-2.png

    Thanks!
     
  2. decoy98

    decoy98

    Joined:
    Aug 30, 2011
    Posts:
    36
    Went with the obvious solution and fiddled with the transform position and rotation during runtime... duh! :)