I need to know how to move an enemy character with ray cast or anything
how can i make an enemy move in godot 4
In 3D or 2D? In 2D you could try using the tween node to interpolate an enemy's position from one spot to another. This would not take into account pathing or collisions. A lot of code can go into just movement so you'll have to think about exactly what you want this enemy to do.
We need to know what project you're working in first really and what kind of player controller you're looking for.
I don't know if you are doing 3d, but I just saw a little tutorial on enemy chasing.
lol, im tempted to ask on these forums - HELP! I need to make a game, i dont know how, just make the game that i want to make for me.
As for the movement, yes you need to specify in th epost if youre making 2D or 3D. Maybe some code you already have. But the basic is you set velocity in the direction you want enemy to move and youre done. With that you have basic movement. Now if you want the enemy to be smart and like patrol around and then attack player when player is near, thats another story. Im trying to figure that part myself, because i dont want to rely on navmeshes because regenerating them in runtime takes a lot of time and each time you place new object in the world you would need to to do that..