did i reply to the wrong one? sorry if I did, I was talking about the second video posted where they got stuck approaching it from the side.
The other issue actually appears to be if there is any CanCollide = true part above the truss.
and surrounding walls are just a red herring in that one. Still sure it is not intended behavior though
In your case, is there a roof on the wall?
The known issue is if there is a obstacle(CanCollide=true) above the truss then the agent doesn’t climb the truss.
I tested with the truss surrounded by walls without a roof, it works.
Does this mean agent radius is fixed? For the longest time pathfinding has completely ignored agent radius and it has flat out not worked, a staff member told me it would be updated in January with some new pathfinding overhauls but you guys seem to be adding new agent params now?
@oldmannt If you could make a feature request that adds PathWaypointActions for Climbing, use of Pathfinding Modifier (its label name AND the modifier instance), use of pathfinding link (its label name AND the link instance) that would be super appreciated. (I can’t do it myself for some reason)
Thank you for suggestion.
For now you can check the label for the waypoint, if the the label is “Climb” then this waypoint it’s for truss climbing. Does it work for you?
Ah yes this does appear to work. Labels aren’t super well documented on the API reference (It doesn’t mention the Climb label in PathWaypoint | Roblox Creator Documentation) so I had no idea this existed. I would still like a way for a waypoint to return the instance of the pathfinding modifier or pathfinding link it’s using though.
This came out literally 8 hours after I completed a 3 week caffeine induced insomnia nightmare bug riddled god mode programming session where I made NPCs climb trusses perfectly.
At this point I had created a monolithic borderline self aware piece of unholy mess that worked for some strange reason.
Needless to say I started crying when I read the news that climbing was now one parameter away from normal path finding… My tears were from a peculiar mix of pure joy and utter resentment. How could Roblox so nonchalantly add a feature like this after all my hard work? But also, thank you, THANK YOU so very much for letting me delete my abominable hornet’s nest of spaghetti madness.
So… I deleted my golem of doom, my totem of curse. Good riddance, I thought, the wake will be a rave party!!!
… only to find out 2 month later that the truss climing flag to pathfinder that Roblox now supplies is a total piece of garbage. When I trace the path out by drawing balls at each path waypoint it looks like a toddler on drugs tried to draw the dots of a dalmation while riding a roller coster. (please see screenshot below).
Hi,
I’m sorry to hear that you encountered issues, we are working diligently to fix the bug as soon as possible.
In the meantime, could you please sent me a repro for this issue? Then I can figure out the problem easier.
We truly appreciate you bringing this to our attention and your patience while we work to resolve this.