Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Changing Camera properties disables ClickDetector?

Asked by 6 years ago
Edited 6 years ago

I was working on a character customization system where, when you click the NPC's head, their face changes, when you click their hair, their hair changes, etc.

However, I faced a problem; I noticed that for some reason, if you change the Camera's CameraFocus, CameraType, or Position, that ClickDetectors no longer register your mouse.

I disabled the Camera properties and it worked fine, but when I set the Camera's CFrame to look at the NPC it doesn't register clicks.

Is there any way to solve this issue, is it a bug, and how would I solve it if there was a solution?

tl;dr When I changed the CameraType of the Camera, ClickDetectors don't register the fact that my mouse is on them, and won't do anything when clicked.

0
No, they don't Leamir 3138 — 6y
0
I'm confused then. Is it something I programmed? :V OrcaTheFish 95 — 6y
0
I probably should've worded it better. OrcaTheFish 95 — 6y

Answer this question