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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Mouse based navigation with a constantly moving camera?

Discussion in 'Navigation' started by MetroidJunkie2015, Feb 14, 2016.

  1. MetroidJunkie2015


    Nov 8, 2015
    I'm making a top down shooter that you would use mouse (or touchscreen) to pilot the ship as the camera scrolls upward, using this script.

    Problem is, navigation meshes are baked in so they don't move, thus the ship kind of goes towards the literal spot clicked on rather than the spot on the screen and ends up going off screen. Is there a way around this, Navigation or otherwise?