Search Unity

Mecanim shoot and run straight problem

Discussion in 'Editor & General Support' started by dannykario, Nov 25, 2012.

  1. dannykario

    dannykario

    Joined:
    Jul 28, 2012
    Posts:
    10
    Hi,

    I am trying to make a character thats runs and shoot in a
    straight line using mecanim. I'm using the "follow" script from the
    mecanim tutorial (with the bears) and bought the shoot
    anim from here.

    It is a simple shoot animation, with an upper body twist to aim.

    Issue is the following:
    the shoot animation moves the legs of the avatar (to aim).
    I tried 2 layers of animation, but then the shoot animation moves
    the character in the wrong direction [tried both overwrite and additive modes].
    I also tried masking the upper body of the avatar, but then the shoot is done to the left, not straight.

    Any ideas ? The issue is not this specific animation, but any one dealing with body move (which is typical to shooting).

    thanks best
    danny