I’m new to scripting with unity and I’m trying to get a very simple collision to work but I can’t seem to get it right. I simply have a character controller object and another object that I want it to collide with and then log something to the debug console. So far I’ve had no luck, here’s what I’m using:
UnityException: Tag: Obj_Spike is not defined!
Player Collisions.OnControllerColliderHit (UnityEngine.ControllerColliderHit hit) (at Assets/Scripts/Player Collisions.js:5)
UnityEngine.CharacterController:Move(Vector3)
Player Script:Update() (at Assets/Scripts/Player Script.js:29)
I think you should look up some Unity3D tutorials first before venturing out on your own.
Here’s some info on the tag manager: Unity - Manual: Tags and Layers