Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode
    1. Home
    2. Coder0145
    3. Best
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 8
    • Best 1
    • Groups 0

    Best posts made by Coder0145

    • 1st person movement script

      I am trying to add movement to my first person 3d game, and have made a script for the movement. (I need it to move in the direction the camera is pointing with WASD) I need to get the direction the camera is pointing in order to make you move in the right direction though, and I can’t figure out how. (The direction not accounting for the z axis, It is like a 2d movement script) I have made a script which works, but only when you are facing in the same direction as the y axis and when you face the opposite way everything switches and inverts, and I can’t figure out how to detect when you are facing that way.

      posted in Help
      Coder0145
      Coder0145