Search Unity

Question Help with smooth camera movement

Discussion in 'Physics' started by cyclSunity, Aug 24, 2020.

?

Do I use Cinemachine?

  1. Yes

    100.0%
  2. No

    0 vote(s)
    0.0%
  1. cyclSunity

    cyclSunity

    Joined:
    Jun 10, 2020
    Posts:
    123
    Hey, making horror game with my dad and I need to know how to have smooth camera movement (to sorta zoom in) Sooo how exactly do I do that? Help would be appreciated :):):)
     
  2. fastFox2

    fastFox2

    Joined:
    Aug 7, 2020
    Posts:
    8
    Have you tryied Cinemachine?
     
  3. cyclSunity

    cyclSunity

    Joined:
    Jun 10, 2020
    Posts:
    123
    No, I don't know how I would do that.
     
  4. fastFox2

    fastFox2

    Joined:
    Aug 7, 2020
    Posts:
    8
    There is a tutorial about making a trailer with cinemachine on the official channel of unity. I think it can help you, but i didn't tried it.

     
  5. cyclSunity

    cyclSunity

    Joined:
    Jun 10, 2020
    Posts:
    123
    Ok, ill try it
     
  6. cyclSunity

    cyclSunity

    Joined:
    Jun 10, 2020
    Posts:
    123
    Mm, I'll do it later. Thanks tho!
     
  7. cyclSunity

    cyclSunity

    Joined:
    Jun 10, 2020
    Posts:
    123
    I am never really in the mood for Unity, so I am not gonna do it right now. *ends up never doing it XD* <--- just kidding
     
  8. cyclSunity

    cyclSunity

    Joined:
    Jun 10, 2020
    Posts:
    123
    Yea ok, it doesnt teach me camera movement.
     
  9. cyclSunity

    cyclSunity

    Joined:
    Jun 10, 2020
    Posts:
    123
    I think i will just stick with
    Code (CSharp):
    1. transform.position.X = Vector3.forward()
    (which will be a script inside of the camera) or will that not work?
     
  10. fastFox2

    fastFox2

    Joined:
    Aug 7, 2020
    Posts:
    8
    If you're looking just for this, I think it'll work. But I thougt you were looking for some complex cameramovements in your game.

    PS: Sorry for the late response.
     
  11. cyclSunity

    cyclSunity

    Joined:
    Jun 10, 2020
    Posts:
    123
    I just want the camera to slowly move towards the house, then go back to where it was.