Hi, I want to create a collider as a checkpoint for my car. Unfortunately the OP
tag is for some reason not detected correctly and I am not sure why.
This is the car object that I want to reach the checkpoint.
I tried adding the OP
tag to the object, the prefab and the parent as well.
Here is the Checkpoint object with the Checkpoint script.
The checkpoint script
void OnTriggerEnter(Collider other)
{
print("Trigger " + other.gameObject.tag);
}
The output
Any help would be apreciated!