<commit_before>﻿using UnityEngine;
using System.Collections;

public class CameraFollow : MonoBehaviour {
	public GameObject follow;
	// Use this for initialization
	float velocity_ref = 0; 
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		Vector3 pos = this.transform.position;
		pos.x = Mathf.SmoothDamp(pos.x,follow.transform.position.x,ref velocity_ref,0.4f);
		//pos.y = Mathf.SmoothDamp(pos.y,follow.transform.position.y,ref velocity_ref,0.2f);
		this.transform.position = pos;
	}
}<commit_msg>Fixed cam<commit_after>﻿using UnityEngine;
using System.Collections;

public class CameraFollow : MonoBehaviour {
	public GameObject follow;
	// Use this for initialization
	float z;
	Vector3 velocity_ref = Vector3.zero; 
	void Start () {
		z = this.transform.position.z;
	}
	
	// Update is called once per frame
	void Update () {
		Vector3 pos = this.transform.position;
		pos = Vector3.SmoothDamp(pos,follow.transform.position,ref velocity_ref,0.4f);
		pos.z = z;
		this.transform.position = pos;
	}
}
{'fraction_non_alphanumeric': 0.11315280464216634, 'fraction_numerical': 0.01160541586073501, 'mean_word_length': 4.123762376237623, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2620803', 'n_tokens_mistral': 363, 'n_tokens_neox': 340, 'n_words': 82}