My character, if I move towards a mesh collider (wall) long enough, sort of just "breaks through". As if he pushed hard enough that collision breaks. lol. frustrating. why does this happen?
using UnityEngine;
using System.Collections;
public class DungeonPlayerBehaviorScript : MonoBehaviour {
private const float VELOCITY = .075f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
CharacterController controller = GetComponent<CharacterController>();
controller.Move(new Vector3(Input.GetAxis ("Horizontal") * VELOCITY, 0, Input.GetAxis ("Vertical") * VELOCITY));
}
}