Line trace on left side camera
Is there a way to shoot line trace from camera so they could always be on the left side of the camera? (image exaple below)
hx in advance.
asked Mar 18 '18 at 05:33 PM in Using UE4
I assume you're doing this in blueprints...
From the Camera component, you want to use the "GetRightVector" node. That will point a vector (of length 1.0) out to the right. Then you just multiply the result by -1.0 to make it point left (or -X, where X is the length you want the vector to be). To do that you want to use the "Vector * float" node.
answered Mar 18 '18 at 06:39 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here