New answers tagged

0 votes
Accepted

Player is able to interact with objects but enemy isn't able to

Turns out I made a beginner mistake. I mistakenly used OnCollisionEnter2D instead of OnTriggerEnter2D.
user avatar

Top 50 recent answers are included