This so the camera follows the player on the z axes but when it move the player looks really jumpy any one know why?
var target : Transform;
function Update () {
transform.position.z = target.transform.position.z;
target.transform.position.z = transform.position.z;
}
Thanks for those who help.
Creelin
2
Does the character have a controller on it that is applying gravity to it? This might be why.
yeah but it is works fine when in webplayer or .exe build just not in the editor
try putting this in LateUpdate() rather than Update() assuming I’m imagining your issue properly this should help.
it kinda fixed it self some how just stopped doing it after coding after things in my game thanks for the help though. 
Like Barabicus said, Put it inside the LateUpdate() and also try to put a Lerp method on that code
yeah i think the lerp method would go nicely with that will try that, thanks for the help 