Fallout 4

This is a little weird to explain, so try to bare with me and hopefully you can learn about object bounds.

There are a few ways to work with object bounds and a few things you should keep in mind when adjusting object bounds. Object bounds act as a way for NPCs to acknowledge that something is in their path. Simply setting all of the X1,Y1,Z1 and X2,Y2,Z2's to 0 is just going to make the npc walk into the collision and not actually walk around it.

Tip #1:
Don't set it to zero unless you want NPCs to walk straight into it and not recognize the object.

What you can do instead is lower the object bounds from the original values slightly.

Here's an example. Originally I had my rugs set to 128 x 128. However I noticed that there was a clipping issue with my walls and I couldn't get them to be placed. My solution to this was changing the object bounds down to a much smaller value. Which allowed them objects to be placed in each other to some degree.

Here's the values I used instead.



This fixed my red placement and allowed it to be clipped into the object. NPCs still recognize it as an object to walk on too! Which makes this a win win situation.

Here's an example image of the adjusted values working with an overlapping wall.



Tip #2:
If you can't get objects to work together seamlessly, lower the original object bounds down slightly and they'll clip together just fine.

Simple Intersections could probably use these tips to further adjust its values to allow a little more clipping for objects. Granted he reads this article.

In those regards, I hope this helps people who are trying to get objects to clip in the future with the snapping nodes.

Article information

Added on

Written by

StuykGaming

6 comments

  1. jaceanmikhael
    jaceanmikhael
    • supporter
    • 14 kudos
    Anyone figure out a decent solution for creating snap points in items? Trying to add this to the Pool tiles mod I uploaded.
  2. Draco856
    Draco856
    • premium
    • 69 kudos
    Quick question, did you discover a threshold on the lower end where NPCs don't see the object any more? How low can I go with the values? I was hoping something like 20s all around would be good for the bigger objects making it so they might be able to be fully clipped, but if it's too low and NPCs don't see the object at that level, what would be the point?
    1. StuykGaming
      StuykGaming
      • premium
      • 207 kudos
      I think you misunderstand that this really only works when an object has a snap point. When it snaps it'll ignore its edge slightly. Placing it alone it won't really allow you to get away with the intersection.
    2. Draco856
      Draco856
      • premium
      • 69 kudos
      It does actually work to an extent on the junk fences, I did some preliminary testing with the Junk Fence gate and it mostly works for clipping it into another part of the junk fence...the side with tires though still doesn't want to do that...that must be somewhere in the mesh that blocks anything being placed on that side...

      And I've been trying to fiddle with the snap points and add them to the junk fences, with no luck...been waiting for DDProductions to make that tutorial video for adding snap points to any mesh, since I can't seem to figure that out on my own.
  3. Draco856
    Draco856
    • premium
    • 69 kudos
    Oh, I read this article, and I'll see about including this in my next update when I get around to it. Just have to get some time to actually work on the mod, plus going through all those items is going to take some time. On top of that, this will solve the issue with the Junk Fence Gate not being clippable, I can just lower it's object bounds and it should work just fine, the question will be what will work the best? Thanks for the insight, I'll get to work on it soon.
  4. aloot
    aloot
    • account closed
    • 111 kudos
    Thanks. Good to know.