Hello everyone! I’m working on a murder-esque game, and navigating the map, along with hiding behind objects, are major components of these game styles.
My one question is, how could you prevent no-clipping? I would assume doing a sanity check every interval and seeing if their torso’s canCollide is set to true, but I’m just checking to see if anyone has any better options or ideas.
I personally haven’t tried this but I have seen instances of raycasting being used. If the ray goes inside of a part then a player MIGHT be noclipping.
I want to quickly make it clear that I did search the forums before-hand. The two top posts that are relevant to this seems to actually have less-productive ways of handling the situation than I do, and I wanted to double check to see if there are more efficient ways, given that both posts were also 6 years ago.