Hello, I am trying to create a boss. I am currently working on the boss’ movements using the pathfinding behavior.
What I expect it to do based on what i’ve learned on it is to simply follow the player character.
This is the code used to make it move, however whenever i get in the range of the boss, he just start going right. He stop when im out of range as expected, but he will only go right when im in range, i don’t understand
Is there only 1 fire knight in the scene?
It chases when it’s closer than 400 but is idle above over 350. 400 > 350.
It might be easier to just add a force or use the platform character behavior on the boss and simulate the key presses. Disable the key interaction. I can’t think of the right term.
With the platform behavior, the boss could also jump.
It might be easier just to add the X force.
After some testing, there might be a problem entirely with the position of platformer character
tweening the knight for exemple will make him go down through the floor, but i cannot find something that would change the perceived position of the player
And yes there is only one fire knight
Using the X force does work. But it make it look like the Knight is running on ice which isn’t ideal, but at least is work