You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ever scince i wrote this peice of code
Quaternion lookRotation = Quaternion.LookRotation(new Vector3(direction.x, 0f, direction.z));
my player did not move to the interactble
what am i doing wrong
The text was updated successfully, but these errors were encountered:
im having a diffrent issue surrounding the same code area. My "enemy" doesn't rotate to face the player as it should be doing, instead it acts as if its right, left, front n back are all its face n rotates the one closest to the player bout 20 degrees to have that side somewhat facing the player. In addition if the player walks around the enemy it rotates back n have the 1/4 sides closest to the player do the same process
ever scince i wrote this peice of code
Quaternion lookRotation = Quaternion.LookRotation(new Vector3(direction.x, 0f, direction.z));
my player did not move to the interactble
what am i doing wrong
The text was updated successfully, but these errors were encountered: