Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Move Brain to help with floating point origin offset solutions

Discussion in 'Cinemachine' started by eVPublishing, Jun 29, 2020.

  1. eVPublishing

    eVPublishing

    Joined:
    Oct 25, 2016
    Posts:
    14
    I have a large world game and implement a "floating point origin offset fix" solution that re-centers my world to keep the math error managed. Of course, this throws off a lot of Cinemachine's damping, morphing, following, etc.

    Is there a best practice for telling Cinemachine "oh, by the way, I just moved everything +5000 units in X?"
     
  2. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    144
    OnTargetObjectWarped may be what you are looking for.
     
    Gregoryl likes this.
unityunity