Hello Collision - Walk Problem


Right now I’m testing the Hello Collision example where we create a player that walks on a landscape. But when I look down on the ground and start to press S to walk back, the player begins to fly up in the air. Because the code is simply adding the look direction to the walkDirection Vector. But how can I fix this? :open_mouth:

You can call .setY(0) on the vector. :slight_smile:

or disable the flycam