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

Bug I have a problem due to animation in unity

Discussion in 'Animation' started by Rojash17, Jul 18, 2020.

  1. Rojash17

    Rojash17

    Joined:
    Dec 2, 2019
    Posts:
    3
    while creating a game i have encountered a bug that might be due to animation. i am creating just a small 2d game where i am using parallax effect for background and player is just there for run and jump animation.I have kept my player as the child of the main camera so that it would move with repect to the camera . But the problem occurring is that the player slowly moving forward i.e the distance between the camera and player is increasing. when i put one child without animation there than no error shows up.it's just happen when i put some player with animation.