Mr_Poroto
(Mr_Poroto)
July 4, 2023, 9:22pm
#1
so the problem that im getting rn is that im making a game where a character makes a circuit, long short story the generated path by pathfinding is kinda broke and sometimes the character gets stuck
i want to detect when the character cant reach the next waypoint but if yall can i also want to know if there is a way so the path doesnt break lol
thanks ^^
(also idk if its relevant but the character that i use just has 1 part with collisions that is his HRP, its just a cube lol)
1 Like
do you have path params set up? it seems you’re using a custom character.
local pathparams = {
["AgentHeight"] = 6,
["AgentRadius"] = 3.5,
["AgentCanJump"] = true,
["AgentCanClimb"] = false,
["WaypointSpacing"] = math.huge
}
pathfindingservice:CreatePath(pathparams)
1 Like
Mr_Poroto
(Mr_Poroto)
July 5, 2023, 4:47pm
#3
sorry for the late response, yes i do, but i just set the radius and the canjump
(also ill just give you the solution mark, when i was adjusting that after i made this post, it worked fine lol)
1 Like
Glad it worked! Also do you have hip height set up because that also affects pathfinding apparently (found that out today asking some of my friends because every movement was way too smooth)
Mr_Poroto
(Mr_Poroto)
July 5, 2023, 9:15pm
#5
i think i do, i have it on 1 if im not wrong. Should i just set it to 0?
no, just click run and make it touch the ground. not slightly beneath not slightly below.
1 Like
system
(system)
Closed
July 19, 2023, 10:36pm
#7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.