so im trying to make the NPCs run away from the player, but when they run off a platform, it seems that their gravity is really low for some reason, but the player’s gravity is normal. So why is this happening? is it something to do with velocity?
The enemy movement example is weird but I figured out that if you just turn it off when they’re falling they have normal gravity
what do you mean by that, should i just turn off their movement when they are touching the ground? (like ex. the switch turns off if i have a raycast that isn’t detecting anything under it?)
this doesn’t work @Pixel_Name1
It seemed to work on my end…
Care to record what is happening on your end? @BradenS
yeah, here you go (also, one of the npcs gets stuck for some reason)
Ducky’s fox’s walking bundle’s work you can use those if you want.
alr, i’ll check it out, i just have to change it so that they run away instead of attack
oh man it’s spaghetti code XD
well ok, i got the walking and falling code down, but now they seem to be stuck jumping over blocks.
the timer is repeating forever and the delay is 1, the raycast is set to ground, and the length is 32, and the npc is just supposed to jump when it runs into a block, but it’s not working for some reason
guys, i really need some help here, i’ve changed so many things and they still won’t ing jump
…should i start pinging people
Try using this example Flowlab Game Creator - Enemy Movement Example
now they just stand in place until i push them
I PUT A ONCE INTO THE MOVE RIGHT!!!
@BradenS maybe make a game where you survive against the defauts