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"

How to apply trace channel for BSP or other actors?

Hi guys.

All i want is to create trace from mouse to my floor(BSP, static mesh). I've created standart scheme with "Get Hit Result Under Cursor by Channel" node, and created new trace channel in my project settings.

How can i put my floor basp/static mesh into that specific channel? Or maybe i'm doing this all wrong?

Product Version: Not Selected
Tags:
more ▼

asked Apr 18 '14 at 10:25 AM in Using UE4

avatar image

kmskazka
41 12 17 17

avatar image clord Apr 22 '14 at 07:53 PM

I'm looking into this right now too, i have unimportant foreground objects that are being used during a 'get hit result under cursor by channel' node, which causes my selection to bounce randomly.

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

1 answer: sort voted first

Looks like the way to do this is to take everything else out of the trace channel, so that only the relevant object still generates hits. I did this with a custom hit test on the problem nodes. That looks like this: alt text

screenshot.png (22.2 kB)
more ▼

answered Apr 22 '14 at 08:14 PM

avatar image

clord
26 1 2 4

avatar image kmskazka Apr 22 '14 at 10:10 PM

Well, thats how i did it, pretty easy:

  1. Went to project setting tab and created new trace channel - with "Ignore" by default. 2.Made static mesh from my floor BSP (im pretty sure u cant choose any trace or object channel for BSP without converting it - since its just a brush, but correct me, if im wrong) and set respones of my new channel to "Block". 3. Made blueprint with "Get Hit Result Under Cursor by Channel" with my new channel.

Since your custom channel is set to ignore by default - all other static meshes will ignore the trace.

(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