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. Dismiss Notice

Question My camera goes like "jumping" (videogames 2D)

Discussion in 'Cinemachine' started by sadas13, Jul 3, 2023.

  1. sadas13

    sadas13

    Joined:
    Jul 3, 2023
    Posts:
    2
    Hi! today i'm learning about videogames camera and cinemachine(The basics because I'm new at videogame programming, I'm learning from youtube and a bit from forums), from a yt video, but, the man in the video could have a camera who went perfectly, but when I did it to my test file it went like, by "steps". The game goes at 700fps, and I used the confiner2D. How can I fix it?

    PD:sorry for my english, I hope you could understand my question,and please help me because I don't understand which is the problem, there is a screenshoot of the vcam component config and from the maincamera cinemachine component config.

    https://www.reddit.com/r/Unity2D/co.../?utm_source=share&utm_medium=web2x&context=3
     

    Attached Files:

    Last edited: Jul 5, 2023
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,207
    Can you show a video of the problem?
     
  3. sadas13

    sadas13

    Joined:
    Jul 3, 2023
    Posts:
    2
    I added a link into the forum to the video in reddit
     
  4. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,207
    Thanks for the video. The jumpiness is strange, I have not seen that before.
    Try to disable components one by one until you can isolate the cause.
    • remove the CinemachineConfiner from the virtual camera. Does that change anything?
    • disable the CinemachineBrain. Does the player move smoothly when the camera is static?
    Can you show the settings of the FramingTransposer? open the foldout.
    Can you show the RigidBody settings of the player?
    Can you show your PlayerMovement script?