3
$\begingroup$

In a previous question (Link to Question) I asked about letting the pillars of a bridge automatically touch the ground. This was solved by @Chris

Now I am wondering if there is a way to avoid that the pillars hit the road underneath, when the same road (curve) goes on top of itself in a loop, as illustrated in the image below?

The Blender file is also in attachment below.

enter image description here enter image description here

$\endgroup$

1 Answer 1

5
$\begingroup$

Here is my proposal:

I made another raycast to the street and deleted the instances according to hit or not:

enter image description here

result:

enter image description here

$\endgroup$
3
  • $\begingroup$ This works beautifully! :D Thank you very much Chris. This is awesome. I could make some kind of roller-coaster with this system. :-) $\endgroup$ Nov 5, 2022 at 17:24
  • $\begingroup$ Glad i could help. You are one of the "seldom" people here who write good questions, provide enough informations (and not too much) and (for me) the best: you provide the blend file so that we can ourselves try whether our solution works. I know there are a lot of "theoretical" people here who love to answer without blend file, the problem is just: they can never be 100% sure that their provided solution works because it is almost always the case that is a certain amount of guessing and therefore their answer might be a waste of time or worse: just wrong $\endgroup$
    – Chris
    Nov 6, 2022 at 4:23
  • $\begingroup$ I didn't know that. That's nice to hear, thanks. I'm very thankful for the help. $\endgroup$ Nov 7, 2022 at 9:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .