hi guys,
I can move the camera smoothly using the below code though I’m having trouble smoothing camera target, currently I’m getting all sorts of jittering… any ideas?
void PositionCam(Vector3 newPos, Vector3 lookAtThis){
transform.position = Vector3.SmoothDamp(transform.position, newPos, ref velocity, smoothTime);
transform.LookAt(Vector3.SmoothDamp(transform.position, lookAtThis, ref velocity, smoothTime));
}
Sorry bout the above formatting… the website is doing strange things…
Cheers