a formula that moves an object toward the direction it is facing code example
Example: unity movement on forward
transform.position += transform.forward * Time.deltaTime * movementSpeed;
transform.position += transform.forward * Time.deltaTime * movementSpeed;