Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

How to Stop My Boss From Going Through Walls

$
0
0
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:
Code (CSharp):
  1. public class Thane_Run :...
How to Stop My Boss From Going Through Walls

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>