the only thing I could find online dealt with either a rigid body or character controller
i don’t want to use a character controller or rigid body, here is what I have so far, it doesn’t work, what am I missing
float horizontal = Input.GetAxis(“Horizontal”);
float vertical = Input.GetAxis(“Vertical”);
if(horizontal != 0) targetXAxis = horizontal * 4;
else targetXAxis = 0;
if(vertical != 0) targetYAxis = vertical * 4;
else targetYAxis = 0;
currentXAxis = Mathf.SmoothDamp(currentXAxis,targetXAxis,ref xAxisRef,.07f);
currentYAxis = Mathf.SmoothDamp(currentYAxis,targetYAxis,ref yAxisRef,.07f);
Vector3 test = new Vector3(currentXAxis,0, currentYAxis);
t.Translate( t.TransformDirection(test));