After my realization on the old thread (same topic, stupid solution, not recommended) I decided to make a new one, but with the same purpose. In THIS playground I have a box and sphere, both layermask = 0x20000000; are always in the camera’s view. I also have the animated “guy” model. also layermask = 0x20000000;. The only thing is is that the guy is not always in the camera’s view. Any help would be nice.
I came back to it and I really want to figure it out. THIS playground has the “arm” and a sphere. notice how I added the sphere. I did the same thing to the guy, but he doesn’t show up. The end result I would like to have is something like THIS. All i did was remove the layer mask from the sphere and camera. You can see the sphere under the other one, and see the guy, but you can see the other objects. Removing the layer mask is something that I would be willing to do, but only if nothing can be figured out.
Dude is the target to be shot. Technically, it isn’t but I use gitlab and can’t load custom 3d models. Layer mask doesn’t work with 3d models so I used dude as an example. He should be seen at all times. In the end guy would actually be replaced with a viewmodel.
I’m wondering if Givo will be happy with it. Maybe. (fingers crossed)
Dun Dun DUUUUUUUUUUUUUUUUUUUUUUUUUUUUUN. (I dramatically walk into the room) What do you mean, MAYBE.:
JK I like to have fun.
(Sees playground) What trickery IS this!?!?!?
Wingnut, I like that solution. like a lot. And yes, the layerMasks were needed to prevent the gun clipping into a wall or something. Like this(game demoed here is Krunker.io. Has the gun-clipping issue):
Thanks for the help!!!
(game demo will come out before april. No promises.