title: How to translate along local x, y, z axis? (Godot)
body: <p>I am an amateur developer starting a simple third person 3D game in Godot 3. I set up some controls that allow a KinematicBody (named Player) to move along the x and z axis based on WASD input. I also have a Camera as a child of the Player so the camera follows behind and rotates relative to the Player.</p>
  
  <p>However when the Camera rotates, pressing forward still moves the Player along the global z axis! I would imagine that when the player rotates and you press forward, the player should move away from the camera.</p>
  
  <p>Is there a built in way to move along an x or z axis that is based on the rotation of the Player? i.e. pressing forward translates along a local negative z axis, making it move forward locally.</p>
  
  <p>I have read the documentation for <code>Transform()</code> and <code>Basis()</code>, and it seems related but is pretty unclear; or at least beyond my skill/understanding.</p>