Search Unity

Camera Script Question

Discussion in 'Scripting' started by Free_Radical, Nov 22, 2014.

  1. Free_Radical

    Free_Radical

    Joined:
    Nov 22, 2014
    Posts:
    1
    Hello,

    I am venturing into the world of Unity for the first time, and I am having issues with a camera/movement script I have been fiddling with. I'm building off some tutorials I found online, mainly one that focuses on your rolling a ball around. What I am attempting to do is to have a ball that rolls around, and as you move the camera, forward input changes based upon which direction you're looking. So for example, if you were rolling the ball through a maze, and you attempted to turn a corner, you wouldn't be stuck holding left/right to continue moving forward from your perspective.

    I am currently using the Unity 4.6 beta, and only familiar with C# to boot. Any advice or directions that anyone might be able to point me in would be greatly appreciated.

    Thank You,
    Free Radical