Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

weapon clipping

Is there a way to prevent a weapon from going inside a wall when you get to close WITHOUT changing the camera scale or the capsule radius?I cant seem to find anything online and Disable Depth Test only works on translucent materials.

Product Version: UE 4.19
more ▼

asked Aug 31 '18 at 11:29 AM in Rendering

avatar image

7 2 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Have the collider on the weapon push it inside the player / move it to the side. Or go the extra mile like this:


more ▼

answered Aug 31 '18 at 12:03 PM

avatar image

14.8k 77 25 62

avatar image Rypz Sep 11 '18 at 02:59 PM

I did something similar by rotating the bones when the gun gets to close,its not perfect but does the job,still i think there can be a better solution if i could turn a translucent material into full opaque and use the depth test option.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question