I'm making a 2D Platformer where the player spawns in a room beside the boss and teleports in.
The boss is coded to always move towards the player and will run through the walls. I've tried everything I can think of and find on Google. The game uses Tilemaps so NavMesh won't work
I wouldn't say I'm a total rookie but this is my first project so please try to explain with that in mind. I appreciate any help, thanks
My boss movement code:
How to Stop My Boss From Going Through Walls
The boss is coded to always move towards the player and will run through the walls. I've tried everything I can think of and find on Google. The game uses Tilemaps so NavMesh won't work
I wouldn't say I'm a total rookie but this is my first project so please try to explain with that in mind. I appreciate any help, thanks
My boss movement code:
Code (CSharp):
- public class Thane_Run :...