how can i make my player look where he is moving with this code setup
horizontalInput = Input.GetAxis("Horizontal");
}
private void FixedUpdate()
{
rigidbodyComponent.velocity = new Vector3(horizontalInput * 2, GetComponent<Rigidbody ().velocity.y, 0);
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613052453im_/https://answers.unity.com/themes/thub/images/avi.jpg)