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"

Multi-Box Trace

Hi all

I'm trying to get a multibox trace to work, however all the examples/tutorials I've seen deal with the RTS style drag box.

I'm trying to use the cursor, get the start location and the end location and create a box between the 2, however the half size doesn't seem to work correctly. If the end point moves from the start point it just moves the box around.

Here is an example (edited in paintbrush) of what I'm trying to achieve. Assuming its even possible.

alt text

Now I assume, I get the end point minus the start point and divide by 2, which is the center, then I have no idea.

I end up having multiply boxes all over the shop which don't even seem to follow the information input into the nodes.

I need to have it based on the world location rather than a hud element because the box needs to follow a grid, but I've tried following everything and no luck. Why do I need to give a half size information for the box, can't it work out the size and points of the box based on start and end points? Just trying to understand exactly what happens when you feed in the information. And what does line segment actually mean, I assume it means the line between 2 points but I'm just assuming that is the case.

Product Version: Not Selected
capture.png (241.5 kB)
more ▼

asked Jan 08 '16 at 12:19 AM in Blueprint Scripting

avatar image

68 13 18 27

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

1 answer: sort voted first

Never mind, me being daft, it all works fine if the start and end location are only used for the finding the center/half size.

You use the center vector as the start and end points when doing the trace

more ▼

answered Jan 08 '16 at 05:41 PM

avatar image

68 13 18 27

(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