Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to make a camera fellow a tube

Discussion in 'Scripting' started by DDP, Oct 27, 2012.

  1. DDP

    DDP

    Joined:
    May 17, 2012
    Posts:
    15
    Hi there!

    I'm starting a new project and most of the game is played inside of a tube. The tube can curve in any direction. The player can control how he moves on 2 axes (horizontally and vertically), but he cannot control how he will be traveling through the tube (depth). This is where I need your help: I'm having a hard time figuring out how to make the player move along that tube.

    Thanks!