Skip navigation
Working on a custom node-based pathfinding system since Roblox's current PathfindingService is…
0:00 / 0:52

Working on a custom node-based pathfinding system since Roblox's current PathfindingService is…

Rɪᴎɢs

@Rings0fSaturn2k2K followers

Visit on X
897 likesDownloadOriginal post

55,846 views #Roblox #RobloxDev

Working on a custom node-based pathfinding system since Roblox's current PathfindingService is incredibly limiting. By creating my own system, NPCs will act exactly how I want them to. #Roblox #RobloxDev

21 Comments

Comments from the original post on X (Twitter)

  • Rɪᴎɢs's profile picture

    @Rings0fSaturn2k

    Did something even cooler:

    8 likes

  • n1ghtm4re's profile picture

    @dev_n1ghtm4re

    I have a feeling Flow Fields would be much better. Have you looked into that. I am a huge fan of this module called FastFlow. Look it up on devfourm.

    3 likes

  • inty's profile picture

    @intykat

    You can use bezier curves to make the turning more natural

    2 likes

  • thingading's profile picture

    @_Kit__________

    I genuinely hate the Roblox pathfinding service

    2 likes

  • moxxy_moxie's profile picture

    @moxxy_moxie

    i love pathfinding, a game that has really interesting pathfinding was CSGO, 2kliksphillip did a whole video on it and the way all the walkable area was divided into squares with some having different behaviours was honestly amazing

  • Vybz's profile picture

    @Vybzern

    Looks like a very clean setup!

  • Waged's profile picture

    @WagedFR

    dijkstra algo?

  • Notte's profile picture

    @NotteZol

    Is it performance friendly?

  • Nova's profile picture

    @TinyBluMushroom

    This is nice and all but maybe you should try and make a system to plot these anchor points around the NPC to make it versatile in any map.

  • rop 🩸 | re9 spiderman's profile picture

    @drstrangesvape

    Tutorial?

  • doorway's profile picture

    @doorvvay

    Wow this is awesome!!

  • Лякуша Йцукен's profile picture

    @SudokuRandych

    What in the name of Jarred Mendelson is this muzak

  • erin5's profile picture

    @PhenixWhiteFire

    Is that Drooling Zombie Walk Animation I see before my eyes?

  • GalaxZy's profile picture

    @SilentGalaxZy

    I would suggest making it so after the parts position has moved (using changed event that calls a function with a debounce) then when target is in view with a ray it will walk directly towards target instead of path finding. This is only if you want an enemy that chases you.

  • Leppux's profile picture

    @Leppux

    Amazing work.

  • Toto's profile picture

    @TotoCodeFR

    It was a pain in the a** when I implemented A* pathfinding to my Roblox restaurant game. Eventually got it to a good state, then abandoned the game.

  • Ript's profile picture

    @riptidemamba

    Awesome

  • cybercosmos70's profile picture

    @cybercosmo29932

    Cool

  • Chira's profile picture

    @caluchira

    actually a bad idea if it always knows where the player is.

  • adimotions's profile picture

    @adimotionsreal

    Tutorial please.. or will you release it as an addon?