Announcement

Collapse
No announcement yet.

Fence Generator Colllision question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Fence Generator Colllision question

    Hey Guys,

    i am creating a fence generator to place random fences. And now i try to check if the main pole of the fence has contact to the landscape so i can aling it to the floor, same mechanic as if i place an actor in the editor and hit END key to put it to the floor. I dont know how to implement this to the construction script so far. Do you have any ideas that i can look at?

    Thank you in advance!

    #2
    Originally posted by hazzardous1984 View Post
    Hey Guys,

    i am creating a fence generator to place random fences. And now i try to check if the main pole of the fence has contact to the landscape so i can aling it to the floor, same mechanic as if i place an actor in the editor and hit END key to put it to the floor. I dont know how to implement this to the construction script so far. Do you have any ideas that i can look at?

    Thank you in advance!
    Do a line trace straight down. The hit of the line will tell you the height to move your fence to. Should be simple enough. Else, post again and I will post a screenshot of how to do it.
    Easy weapons in Unreal Engine 4:
    Check out Realistic Blueprint Weapons

    Currently doing a tutorial series on Vectors and what they are good for.
    Please visit Unreal Unscripted

    Comment

    Working...
    X