Hi all, I have this strange problem with making the enemy shoot lasers.
When I tick my enemy’s laser CapsuleCollider2D’s ‘isTrigger’, the enemy lasers stop instantiating in the game. The strange thing is that when I start a debugging session and do Debug.Log(), it looks like the laser is instantiating and its Ridgidbody2D has velocity set correctly.
When I hit play, and switch the ‘isTrigger’ off during playing, the lasers start appearing in the scene…
I did all the required steps, copied the code carefully, did a lot of debugging but still, I haven’t found a solution to the issue.
Help please