I’m trying to make a game where players can select layered clothing accessories by clicking or tapping on them, and it seems like the only way Roblox wants devs to interact with meshes is through their heavily compressed collision geometry. I understand why Roblox does this, but for my use case I just want to accurately select only opaque or semitransparent objects from a pixel on the screen, which is something the engine already calculates.
I’ve tried using raycasts and getting the target BasePart in player.Mouse, but I only end up getting invisible hitboxes belonging to other accessories when the actual mesh I need is already displayed on the screen.
I want to know if there are any functions I can call, or workarounds other people have figured out because otherwise the clunky overlapping hitboxes for the layered clothes will make selecting items incredibly clumsy and my game idea will fall apart lol