How can I fix the sniper scope?

Hello! I was working on my game and was trying to add a sniper weapon. The issue is that my scope’s end circle is blocking the whole screen.

So I was wondering how games like “COD mw roblox” does that?

I tried dual rendering but it didn’t work as good as this screenshot.
Thanks!

1 Like

They make the end of the scope transparent by changing out the mesh while aiming.

In that game (cod roblox) all of the weapons are taken from the kit thats in toolbox. I imported this kit to the place and the scope had only 2 meshes. the base and the lens. so i dont think this is a solution.

image
image
image
image
Many games do what I described.

edit: fixed wording bc it sounded mean

if i resize the model with the script it will break all of the welds and joints that the model has.
how can i avoid this issue?

Add new welds when its size its changed.
also, change the category to something more fitting

alright I changed it. thanks for your advice!

RigidConstraints exist now, letting us weld attachments. The benefit to this, it won’t unweld when you drag the part around!

1 Like

I’ll try RigAttachments too. thanks

1 Like

but what about joints? when i move the part the joint breaks

If you position the attachments in the same location as the hinge constraint but make sure the weld isn’t happening on the same attachment then it should work

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.