Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Question How to make camera look at the center of path?

Discussion in 'Scripting' started by code_captain, Sep 19, 2020.

  1. code_captain

    code_captain

    Joined:
    Jun 7, 2020
    Posts:
    4
    I am making an endless runner game and the player movement happens wrt where the character is looking. Now for straight paths this works ok but not so for the curved paths as i cant get the character to look at it. So what I ask is how do I make the character look at the center(or in a way, the axis) of the path he's running on.