Hi everyone, this is a module to help you from optimization to new features in your game.
A lot of people wants to see if a camera can see a part but infortunately Roblox didn’t add this feature, so i did it.
Why would i use this module?
With this module you can make useful things like:
- Make parts that the camera doesn’t see invisible.
- Make something like SCP-096
- Activate a mechanism or do something when the player is(isn’t) looking at it, and much more.
This script uses a more complex and optimized way to do it’s job
Version Note
Version: Alpha-1
Feature:
-Detect if a part is visible to the camera.
-Spawn a camera at a given CFrame and detect if a part is visible to the camera
This module and this post is under development
Module Link:
I hope this module helps you.
Updates to come:
For Alpha-2:
Default Configurations.
Z cliping plane(minimun position, default being vector3(0,0,0)).
Better instructions in the ReadMe.
Maybe a better optimization.
A test place(a showcase showing the module)
For Alpha-3:
Ignore small parts that are blocking the part(you will see it when i update it).
Range based on graphic level or a render distance.
For Alpha-4:
Don’t ignore invisible parts with a transparency 0 decal blocking the camera view.
ViewportFrame support(i am unsure if it will arrive at Alpha-4 but let’s hope it does[0.001% of chance]).
For Alpha-5: Coming Soon.