Search Unity

hi there,i have a question, please help me !

Discussion in 'Cinemachine' started by gabriella11, Jul 28, 2018.

  1. gabriella11

    gabriella11

    Joined:
    Jul 28, 2018
    Posts:
    1
    Có 3 loại tàn nhang chính:
    ● Loại nhẹ: Là những chấm màu nâu hình tròn xuất hiện trên da nhưng nằm ở lớp biểu bì tức là lớp ngoài cùng của da. Dạng này dễ điều trị và không tái phát.
    http://trietlong.net/bam-mi-han-quoc/

    ● Loại vừa: Là những chấm màu nâu hình tròn xuất hiện trên da nhưng nằm ở lớp trung bì của da. Loại này hơi khó điều trị, nếu điều trị không đúng cách sẽ không chạm được vào gốc, làm nốt tàn nhang đậm thêm, để lại vết thâm vĩnh viễn.
    tắm trắng body

    ● Loại nặng: Là những chấm màu nâu hình tròn xuất hiện ở trên da nhưng lại nằm sâu dưới lớp mỡ của da nên việc điều trị tàn nhang loại này khá phức tạp.
    Cách trị nám tàn nhang trên da hiệu quả nhất, thành công đến 99
     
    Last edited: Sep 11, 2018
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,711
    We don't have anything out-of-the-box yet for head bobbing, but it's on our to-do list.

    In the meantime, the best way to do it would be with a custom CinemachineExtension. Have your custom extension add the bob motion to the vcam's PositionCorrection field of its state (it's a position delta, so a simple sinusoidal motion about 0 on the Y axis should do the trick). This way it will coexist with Perlin noise and other stuff, and will blend.

    See this post for a sample CinemachineExtension: https://forum.unity.com/threads/how-to-shake-camera-with-cinemachine.485724/#post-3416266
    The code there randomly shakes the camera, but you can use it as a jumping-off point for your head-bobbing feature.

    Good luck! If you come up with something cool, don't hesitate to share it here :)

    PS you can copy the Perlin Noise presets and customize them, or make your own using the Noise Settings editor. It can be used to generate all sorts of signals, including non-random sinusoidal ones. Click on that little gear icon for options:

    upload_2018-7-31_6-59-54.png