How to shift PC Focal Location
I'm using my player controller's GetFocalLocation() vector for my line trace. However, the focal location is a bit too low for my character, as the camera/eye height is set a little higher.
Does anyone know how to get a higher focal location? I've tried adding another Z vector to the focal location vector, but that doesn't seem to work.
asked Sep 23 '16 at 06:52 AM in C++ Programming
Check out this example in the doc on how to use a line trace without using GetFocalLocation(), that way you can start you line trace from any point to another. P.S. the "1500" value they used specifies the distance, if your object is really far away you might need to use a higher value. https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UseRaycasts/Blueprints/
answered Sep 23 '16 at 06:57 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here