I’m having an issue getting my trigger to work. I’m using a character controller on my player but it isnt getting detected when I collide. I marked the object as a trigger and named everything correctly. Something must be wrong here. I believe the controllerCollider is the thing it can’t find mabye ? I get no errors.
function OnControllerColliderhit (hit : ControllerColliderHit)
{
if(hit.gameObject.tag == "triggerloadbarracks")
{
}