- Home /
The question is answered, right answer was accepted
How to detect collision with isTrigger enabled object, from the pont of the isTrigger disabled object
So, I have my player, who needs to go through this object, that has isTrigger enabled. I have an OnTriggerEnter function on the player, but it doesn't detect the object. Here's a picture:
The truck is the player, with isTrigger disabled, and that's the plane. with enabled isTrigger. I want the truck to detect when it's toching the plane, but it doesn't detect it.
Answer by ubormaci · Mar 16, 2020 at 02:26 PM
Okay guys, problem solved, turns out I had to use OnTriggerEnter(Collider other) instead of (Collision collision)
Follow this Question
Related Questions
Detect collision and prevent intersection 1 Answer
Composite Collider on Tilemap not really stopping player 0 Answers
Pixel Perfection collision on 3d animated object 0 Answers
Find axis of collision 0 Answers