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

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.