Question : Where about is the hit.point supposed to be? I know exactly where my collision lies but this is not the answer I am getting. Is the contact point on the collision or on the contoller? I want to touch my 'special' collision and get a point in the world where it is.
The hit point in most situations will be if you hit another object.. so In this case it would look like
var hits = 0; function OnControllerColliderHit (hit: ControllerColliderHit) { if(hit.gameObject.tag == ("anyrandomtaghere")) { hits += 1; } }
your defining the hit for everytime the controller collides. So if it collides with the game object with that tag. if(hit.gameObject.tag == ("anyrandomtaghere")) then it does what you define. Pretty simple eh?