Ch3 Sprite disappears after altering transform.Y via animator controller

Home Forums Books Mastering Unity 2D Game Development Ch3 Sprite disappears after altering transform.Y via animator controller

This topic contains 2 replies, has 2 voices, and was last updated by  Simon (darkside) Jackson 3 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7978

    bscarl88

    Everything works fine, my character runs left/right with the running animation, and is idle when stopped.  Whenever I try to add the 0.1 Y Axis hop to the middle frame in the running animation though, my sprite won’t render in the Game view.  I can see it walking back and forth perfectly fine in the scene view, but it doesn’t show in the game view at all?

    #7985

    Scott

    I fixed it.  My camera had an animator component attached to it with the run animation, and something funky was happening between the two.  I deleted the animator on the camera, and everything worked fine.

    #7988

    Great to hear you solved that problem, that might have taken a while to sort through :S

     

    Let me know if you run in to any other trouble and thanks for supporting my works.

    Simon (Darkside) Jackson
    @SimonDarksideJ

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Mastering Unity 2D Game Development’ is closed to new topics and replies.