I need help with a game I’m making. I need a detector that runs a script when it detects a part in it like this:
[Detector Part] → [Part]
facing that way
sort of like the Minecraft observer.
Any help will be appreciated
I need help with a game I’m making. I need a detector that runs a script when it detects a part in it like this:
[Detector Part] → [Part]
facing that way
sort of like the Minecraft observer.
Any help will be appreciated
You can fire a raycast from the front of the detector. If it hits a part, you can use RaycastResult.Normal to check the direction of the hit part.
Here you go!
Thanks! This helped me a lot! I’ll definitely credit you in the game if you want
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.