var PlayerTele : Transform;
var postrans : float = 2.0;
function Update() {
if (Input.GetKey (KeyCode.Z))
{
transform.position = Vector3(PlayerTele.position.x + postrans, PlayerTele.position.y + 0, PlayerTele.position.y);
}
}
It works and all but no matter how small I make the postrans value it still teleports the character the same distance which is WAY too far…