x

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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Building System Collision Boxes Set Up

I'm trying to set up a building system similar to the one in Fortnite but I ran into a huge issue. I can't get the boxes to line up in certain situations and this causes the whole building system to be thrown off. Can someone please help me with a building system where all the walls would line up? Thank you.

Product Version: UE 4.18
Tags:
more ▼

asked May 12 '18 at 02:14 AM in Blueprint Scripting

avatar image

Hemlock
14 2 3 10

avatar image ThompsonN13 May 12 '18 at 03:03 AM

you should be able to round the locations to the nearest value, so basically create a snapping system. to do this you could break the vector and use the floor or round nodes on each axis (i dont know of a way to round all axis at once as a vector). so say you wanted to snap to the nearest 100units or meter for each axis you would: take the axis value divide by 100, then round, then multiply by 100. so as an example lets say you were aimed at X213, the it would be 213/100=2.13, 2.13 rounded is 2, 2*100=200.

also i dont know if you know but theres a guy already making a tutorial on how to recreate the building system in fortnite. i havent watched his videos but ill link them anyways.

alt text

capture.png (107.2 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
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