Sign in to follow this  
Followers 0
Raggar

[SOLVED]Make a Mesh Render in Front of Other Meshes?

7 posts in this topic

Silly title, I know.

I'm not sure how to achieve this, and I'm sure a PG is not necessary, if this functionality actually exists.

Imagine the simple and common version of a FPS-setup.

You have a camera, and a mesh or more in front of this camera, usually a couple of hands and a gun of some sorts.

Now, when I hit a wall face-first, part of the hands/gun model will clip through the wall, and we sure don't want that to happen.

Is there some way to always render the hands/gun models in front of everything else, igoring depth? I looked at z-index, renderingGroups and masks without luck.

Share this post


Link to post
Share on other sites
1 hour ago, Deltakosh said:

It seems to work for me (I can see the hands in front of everything)

Are you sure? Try getting closer to the plane and sphere objects.

Share this post


Link to post
Share on other sites

Oh. I've had similar issues when scaling individual meshes. Should have thought of that I guess :P

Thanks. :)

Thread marked as solved.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.