#Pathfinding Bot Not Jumping Over math.huge block

11 messages · Page 1 of 1 (latest)

compact wing
#

It just freezes if it has to jump. Any way to fix it?

grave depot
#

pathfinding is just a service to indicate directions to an npc, but you will have to add some extra logic to check for too steep obstacles because your navmesh cannot be mapped over them

compact wing
#

How would I do this?

grave depot
#

you could use ray casting, collision detection. etc

compact wing
#

ok

compact wing
#

used magnitude

#

but it only goes to the middle of the part, and not the closest position for the block

#

is there any way to get the closest point of the part?

astral hornetBOT
#

studio** You are now Level 7! **studio

grave depot
#

:FindPartOnRay() is now deprecated. Watch my video video for the new syntax. The concepts and the math stay the same. Here is the link to the new function, workspace:Raycast():
https://www.youtube.com/watch?v=4fJBWFz9I-E

In this video, I show you the basics of Raycasting. I explain what a ray is, how to use it, and how to make one in Roblox. T...

▶ Play video
compact wing
#

thanks