Help with movement

It is possible with only logic bricks, though some of these coders would probably cringe at my way of doing it (btw I am learning how to code currently :slight_smile: )

This system takes 2 cubes, an empty, the character you control, and a camera

  1. I start with a very small (as in nearly invisible) cube(1) in the center of the character that is parented to the character.
  2. Next I take a cube(2) and vertex parent it to that small cube(1).
  3. The empty is then placed in front of the character and parented to the cube(2)
  4. Then parent the camera to cube(2)
    Open up the logic now
  5. The cube(2) should be set with:
    mouse movement ------> and -------> mouse look (but only on the x-axis)
  6. The character should be set with:
    keyboard W ---------> and ---------> track to the empty

Thats about it, as far as I know, I messed around with it earlier

good luck,
Fredstash

1 Like