Any way to Hide a camera
Any way to Hide a camera
Is there a way to hide a camera . I've tried moving it off the screen out of view but that doesn't seem to work. I need the camera turned on and working but don't want to see it on screen. I've made it as small as possible but ideally would like it invisible . I'm using it as a sighting system for my game and it works very well with the fov set to 1 . It's very accurate and does the job but as small as it is it is still visible and about the size of the letter m so not huge . I've moved it to the corner of the screen and it's not obvious but I would rather it be off screen or invisible . Thanks for reading .
Re: Any way to Hide a camera
You can't move a camera off creen and doing so would make no sense.
You can create, switch and free cameras.
Using a camera as a sighting system as you describe it, is not the way to to go.
Take a look at the following functions:
BodyPick(), MousePick(), MouseRaycast(), Raycast() and RayCollide()
You can create, switch and free cameras.
Using a camera as a sighting system as you describe it, is not the way to to go.
Take a look at the following functions:
BodyPick(), MousePick(), MouseRaycast(), Raycast() and RayCollide()
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
Re: Any way to Hide a camera
Thanks for the advice I will check out your suggestions .
- pf shadoko
- Enthusiast
- Posts: 291
- Joined: Thu Jul 09, 2015 9:07 am
Re: Any way to Hide a camera
I'm not sure I understand your needs, but maybe the createRenderTexture function will suit you:
it allows to copy the content of the camera into a texture (the camera is not displayed on the screen)
it allows to copy the content of the camera into a texture (the camera is not displayed on the screen)