never played with los and platform before,... also im rusty.
i want an enemy to run towards you on a platform game when they have los. i have the text say yes when they have los.
is it because i disabled platform input?
Develop games in your browser. Powerful, performant & highly capable.
If the platform behavior is disabled, then of course you can't simulate its controls.
so... i need to change player controls to wasd
pretty sure thats how i used to do it.
bit of a hack if i use arrow keys and control the enemies lol. off the cliff!
but ok. i can work with that thanks
It sounds like what you are looking for is to disable the default controls (which are the arrow keys) for the enemies. So the player can be controlled with the arrow keys and the enemies aren't.