Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    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.
     
unityunity