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. 

how to raytrace in c++

hi this is my first time using ue4 and using c++ i'm trying to make real bullets and their physics and I hear about raytracing but I can't seem to finding nothing about for c++ and I look in the api I can't find anything need help and any tips from you pros using ue4

Product Version: UE 4.15
more ▼

asked Oct 17 '17 at 05:19 AM in C++ Programming

avatar image

11 3 8 9

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

2 answers: sort voted first

I think you should search LineTrace isntead, take a look at this wiki page may help you

more ▼

answered Oct 17 '17 at 07:49 AM

avatar image

46 1 2

avatar image Dragon Slave Nov 07 '18 at 06:05 AM

Unfortunately now all of the html tags are broken on these unreal wiki entries making the code hard to read.

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

What you need to search for is "UE4 line trace c++"

Here is a tutorial on using line traces in c++ that you might find useful:


and if you are really serious about learning c++ with UE4 there is two must take courses on udemy that are fantastic. One by a former epic employee Tom Looman.



more ▼

answered Nov 07 '18 at 07:27 AM

avatar image

Steve SybrSyn
1.5k 4 5 10

(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