A New First Person System (It prevents clipping)

Hey there, Ive been lately working on this new first person system I made.
There is not much and also not much of a difference from others, but there is one noteable advancement in this one is that it isolates fp view models that results in the fp view model not clipping or going inside the wall when too close to a wall.

I got this idea of this while playing Arsenal, I saw there is a clipping issue in the fp view model, here’s an example:

So, here we are, In my scripts specifically, this doesnt happen.
Here’s the recording:

So thats all with this one. I’d love to see any new suggestions or fixes or any other way of implementing it.
Thoughts on this one?

Thanks!

Edit:
Here’s the resource:
A New FPS System.rbxl (465.1 KB)
Just forgot to upload that. :sweat_smile:

4 Likes

thats cool :+1: although i think this would be better fit in #help-and-feedback:creations-feedback.

First off, you’re using ViewportFrames, which I heavily discourage from being used for view models. Second, this is not a community resource, as you’re plainly showing off you character being rendered in a full-screen frame

1 Like

Why are viewmodels in viewport bad?

Dont mind that, ive added the resource (the project code files)

1 Like

ViewportFrame renders are more limited than rendering in the main viewport.

2 Likes

i mean you can do hacky method trough Voxel lighting and a whole bunch of lighting tricks to mask viewport and actual game world’s lighting

but yeah, it’s bad practice in general, in-fact i don’t think non-Roblox games use viewports for their viewmodels, just they scale it down in-fact so it’s small that it doesn’t clip but looks large because it’s right in your face

personally i don’t care how it works, and if viewports make it work for you, go ahead i don’t care
you can even just scratch the entire floating viewmodels thing altogether and just attach the camera into the player’s head for realistic shooters (doesn’t work for arcadey ones tho)

Games outside of roblox usually use render layers to render the player viewmodel on a different layer entirely.

4 Likes