Can making a click detector from scratch avoid the problem of click detectors not working at high speeds?

The problem is explained here: Click Detector on fast moving part cannot be clicked and mouse icon flickers - #8 by IISato

Any way to avoid this?

2 Likes

Yep you can use a RayCast instead, just generate it based on the ViewPort or Screen to get where the user clicked or tapped, and you can get the workspace part they’re trying to click.

That should be enough keywords for you to search & find the code you need :slight_smile:

2 Likes

To expand on what he said you would do screentoworld ray or something like that i forgot the method but it projects a 2d position to a 3d ray. Then from there just treat it like any normal raycast seeing if its object is the click detector parent

2 Likes

Ok wow this is really clever. Thank you for this.

How would I do this? I’m not a very good scripter so I need some help…

I found a way to do this without using ray tracing

Hey, sorry for bumping into this thread. This click detectors issue is very annoying and I just don’t know what to do… Do you mind sharing how you did it?