Is the line trace being fired? Don’t forget to turn on DrawDebugType to check
I am building a VR software with UE4 and I want the user to be able to use the motion controllers to place an object in the world using a raytrace. If the user presses the trigger button and the measurement tool is selected, it calls the Measurement function as shown below.
How I intend the Measurement function to work is that if there are less than 2 Measurement Spheres (a different blueprint), it spawns a Measurement Sphere at the end of the raytrace using LineTraceByChannel. Here is what I have below so far.
Unfortunately, nothing happens when the trigger is pressed. Am I missing something or doing something not quite right?
Thank you for your help!
,
That worked! For some reason, the raytrace wasn’t firing
Yes! Thank you!
Spawning the actor works now?
Amazing! That was quickly solved. haha