#pathfinding scp 096 problem...
1 messages · Page 1 of 1 (latest)
i dont see nothing wrong with it
no
how the pathfinding
service
wont like
go through the door
read the script oml
bruh use A*
wdym
its a pathfinding algorithm that mogs robloxs default
not gatekeeping
I jsut told you
its noit something you send
its an algo
you make something using the algo
@robust sun so you want me to make a pathfinding system from scratch
that might take me a week
and waste a bunch of time
it wont take a week
how long?
and wont waste a bunch of time
idk depends if ur ass or good
i mean ive been scripting for a while
find a youtube video explain A* and make a module using it
sorry but
are you talking
about a new coding language?
A*
this is bad advice
you get what you pay for 
Dis not bad advice
im just giving a example of a algo for him 2 use
you basically need to use pathfinding modifiers/links to set this up properly so that the pathfinder can pathfind through the doorway, obviously you can enable/disable this at will. need to write pathfinder properly to catch for blocked path when this comes up. not easy for a beginner https://create.roblox.com/docs/reference/engine/classes/PathfindingModifier
rule #1 dont reinvent the wheel
a* is slow and often not good enough for what people intend to use it for
💀
A* not hard 2 optimize lowk
99% of peoples attempts at a* are utter garbage
you need proper navmesh to beat roblox's pathfinding, which yeah uses a*, but why are you reinventing roblox's navmesh and pathfindingservice when you can just use roblox's tools correctly
lowk just says you aren't familiar with roblox api
Nobody unironically uses defualt pathfinding service
thats why so many people are making custom modules
which is fine but if you want to be a roblox dev it's worth learning the api, but that's just my $0.02c what do i know. if you want to make your own pathfinder instead of using roblox's thats your choice, im not your mom and you can make your own decisions
but I will ask that you do not recommend these poor life choices to beginners.
K
also dat blud dmed me and said he was under 13
and when u gonna rank my ticket
yea not surprised a lot of kids in here lie about their age. they can barely get roblox studio going, far less even do normal basic pathfinding properly, i.e using humanoid.movetofinished:wait(), and your suggestion is to toss out roblox's pathfinder entirely and make their own pathfinding solution, which for these kids is about 10000x harder than just using the existing tools properly which more often, they aren't using properly in the first place. coz that makes sense.
wtv just use an open source one thats way better than the default pathfinding and ur good to go
why drive a car on the road when you can drive a plane on the road instead coz planes are faster than cars innit 
these are fine but you still got the issue of, these people don't even understand roblox's normal pathfinding, how is a custom one going to help?
Learn the better solution and forget about the bad one
the implementation of both is the same tho
ye ik but ones better and ones not
Yep
so why bother with all that effort and instead just learn how to use pathfindingservice properly
in fact this holds true for a lot of things in roblox - people don't understand how to use some part of the api so they go miles out of their way to settle on a worse solution
e.g not understanding how to work with .Touched so instead people raycast/spatial query, every frame, in every place they should otherwise be using .touched
but anyway the main problem for op is just deciding when the npc can and cannot pathfind through a closed door, along with the sheer fact of pathfinding through a closed door. that's done with pathfinding modifier, and some work in the path follow code when the npc reaches that particular waypoint i.e play an animation and some sounds and make the door invisible when reached while having a valid path through it. that's their issue. just a simple matter of learning how to use pathfinding modifier. no need to create their own entirely custom pathfinding tools, or even using 3rd party.
when gangsta ranked s2
How is .Touched not problematic? What would be ways to use it properly?
ive tried everything dude.
and ive came to the conclusion that
its not possible.
since pathfinding service will literally not go through doors. that you even set do not collide with the collision groups with physics service
okay ive liked given up.touched completely
its just a not very good way
to code tbh
Have you tried adding a pathfinding modifier to them?
Or sth like that
Check this out
solved