Is the “ShouldCollide” hook fully functional? I can’t seem to get any results from it, I’m trying to nocollide a player to a vehicle, maybe there is another way to do so?
I haven’t heard anything about the hook being broken. Can you show us your code? Maybe there’s a problem. And if there’s any errors, post those too.
There is not much code to show, I’ve just tried to see if it works:
hook.Add("ShouldCollide", "Example", function(ent1, ent2) print("Part1") // Doesn't get printed. if ent1:IsPlayer() and ent2:IsVehicle() then print("Part2") // Also doesn't get printed. return true // Tried with false, same thing. end end)
The wiki recommends to use it on shared, tried shared, server only, same results.