Search Unity

Is there a way to control rotation for something that is being controlled by a cinemachine track?

Discussion in 'Cinemachine' started by LordDrakota, Jun 8, 2020.

  1. LordDrakota

    LordDrakota

    Joined:
    Apr 20, 2020
    Posts:
    3
    I have a gameObject that moves its position according to a cinemachine track and I've setup a signal to execute a Quaternion.LookRotation on another gameObject, but I cannot move it's rotation because of the cinemachine track.
    upload_2020-6-8_18-46-53.png
    I only control its position and not its rotation, is there a way to achieve what I'm trying to do?
     
    Last edited: Jun 9, 2020
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,717
  3. LordDrakota

    LordDrakota

    Joined:
    Apr 20, 2020
    Posts:
    3
    Indeed, my bad. My game also uses a Cinemachine Track and Cart, I got mixed up with the naming :confused:.

    Thank you for your help :)