I got a pathfinding script, everything works, but just not well i’ve been using pathfindingModifiers i make sure to set the value to math.huge in the agentparams and that kinda stuff but it will still go directly through them sometimes, altogether just not working very well. Does anybody know how to fix this or if there are at least any alternatives?
1 Like
Have you looked into CollisionGroups?
BasePart | Documentation - Roblox Creator Hub
PhysicsService | Documentation - Roblox Creator Hub
math.huge is infinite, which is not really a number, so its sets the param to the default value, which is quite small. (this is the case for very large numbers really). So you wanna measure the dimensions of your rig and the Params should work. Ofc if it doesn’t it might be the way the path is being created. Look into that