# \#line-trace

**URL:** https://forums.unrealengine.com/tag/line-trace/2295.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [\[Tutorial\] Proper Multiplayer Linetrace from camera](https://forums.unrealengine.com/t/tutorial-proper-multiplayer-linetrace-from-camera/1229523)

<div class="topic-metadata">

**Author:** [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Replies:** 11\
**Last updated:** [October 7, 2026, 4:03pm UTC](https://forums.unrealengine.com/t/tutorial-proper-multiplayer-linetrace-from-camera/1229523 "2026-10-07T16:03:55Z")

</div>

When I code multiplayer mechanics I do so with a few base rules. Don’t ever trust the client. Don’t waste bandwidth replicating data you don’t need to. In many multiplayer scenarios we need to execute line traces. One…

---

## [Line Tracing to target and arcing projectile path](https://forums.unrealengine.com/t/line-tracing-to-target-and-arcing-projectile-path/421709)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e6279b2e1](https://forums.unrealengine.com/u/anonymous_user_e6279b2e1)\
**Replies:** 9\
**Last updated:** [July 5, 2026, 7:24pm UTC](https://forums.unrealengine.com/t/line-tracing-to-target-and-arcing-projectile-path/421709 "2026-07-05T19:24:30Z")

</div>

Hey, So, I’m in a little pitch here. I want to make my projectile travel in an arc from my character to the target hit by line trace. I’ve been doing all grenade tutorials and timelines I could find but nothing seems to…

---

## [Multi Line Trace Confusion](https://forums.unrealengine.com/t/multi-line-trace-confusion/2716114)

<div class="topic-metadata">

**Author:** [@FairboyMarx](https://forums.unrealengine.com/u/FairboyMarx)\
**Replies:** 8\
**Last updated:** [April 21, 2026, 11:14pm UTC](https://forums.unrealengine.com/t/multi-line-trace-confusion/2716114 "2026-04-21T23:14:46Z")

</div>

I just want to capture all the hits along the line trace, but why is it so complicated?I don’t understand it at all. I’ve seen descriptions stating that Multi Line Trace registers only one hit even though the length has…

---

## [Find Collision UV node doesn't work](https://forums.unrealengine.com/t/find-collision-uv-node-doesnt-work/370796)

<div class="topic-metadata">

**Author:** [@Nox\_A15](https://forums.unrealengine.com/u/Nox_A15)\
**Replies:** 20\
**Last updated:** [February 24, 2026, 11:23pm UTC](https://forums.unrealengine.com/t/find-collision-uv-node-doesnt-work/370796 "2026-02-24T23:23:36Z")

</div>

Hello, I think I’ve done everything as described in the release notes - “Support UV From Hit Results” is set in Project Settings. I use LineTraceByChannel to get Hit Result Structure. The hit is registered, but UV vecto…

---

## [3rd Person Interaction Line Trace, Mostly Independent of camera position](https://forums.unrealengine.com/t/3rd-person-interaction-line-trace-mostly-independent-of-camera-position/2693411)

<div class="topic-metadata">

**Author:** [@Pur3Ven0m](https://forums.unrealengine.com/u/Pur3Ven0m)\
**Replies:** 1\
**Last updated:** [January 19, 2026, 10:48pm UTC](https://forums.unrealengine.com/t/3rd-person-interaction-line-trace-mostly-independent-of-camera-position/2693411 "2026-01-19T22:48:40Z")

</div>

Just wanted to share a little function I’ve created, its a simple line trace. But the reason its useful is because when I implemented a camera zoom function that adjusted the spring arm length I noticed my interaction tr…

---

## [Line trace is inconsistent and doesn't work randomly](https://forums.unrealengine.com/t/line-trace-is-inconsistent-and-doesnt-work-randomly/2692497)

<div class="topic-metadata">

**Author:** [@KMzuru](https://forums.unrealengine.com/u/KMzuru)\
**Replies:** 1\
**Last updated:** [January 16, 2026, 8:26am UTC](https://forums.unrealengine.com/t/line-trace-is-inconsistent-and-doesnt-work-randomly/2692497 "2026-01-16T08:26:27Z")

</div>

I have an incredibly headache inducing, strange issue where a line trace that works most of the time, is very inconsistent and doesn’t work for seemingly no sound reason. It might be distance based but I can’t consistent…

---

## [Why cannot traces hit spline generated meshes?](https://forums.unrealengine.com/t/why-cannot-traces-hit-spline-generated-meshes/450297)

<div class="topic-metadata">

**Author:** [@M.O.A.dev](https://forums.unrealengine.com/u/M.O.A.dev)\
**Replies:** 8\
**Last updated:** [December 26, 2025, 6:35am UTC](https://forums.unrealengine.com/t/why-cannot-traces-hit-spline-generated-meshes/450297 "2025-12-26T06:35:53Z")

</div>

I know that you can’t use traces to get a hit result on spline generated meshes. I tried all kinds of things before testing it out with a static mesh of the same one spawned by the spline. Traces of course work with the …

---

## [Reading texture color data using UV values](https://forums.unrealengine.com/t/reading-texture-color-data-using-uv-values/465888)

<div class="topic-metadata">

**Author:** [@thugzook](https://forums.unrealengine.com/u/thugzook)\
**Replies:** 18\
**Last updated:** [December 16, 2025, 11:50am UTC](https://forums.unrealengine.com/t/reading-texture-color-data-using-uv-values/465888 "2025-12-16T11:50:16Z")

</div>

I’ve been searching online for a solution to this, but to no avail. I am trying to read color data from a texture using the UV coordinates. As you can see in the image below, I am successful in acquiring the UV values. …

---

## [How to hit the trace on the back side of the mesh?](https://forums.unrealengine.com/t/how-to-hit-the-trace-on-the-back-side-of-the-mesh/2680703)

<div class="topic-metadata">

**Author:** [@Extrahdmi](https://forums.unrealengine.com/u/Extrahdmi)\
**Replies:** 3\
**Last updated:** [December 2, 2025, 6:32am UTC](https://forums.unrealengine.com/t/how-to-hit-the-trace-on-the-back-side-of-the-mesh/2680703 "2025-12-02T06:32:46Z")

</div>

I want the trace to hit the back of the mesh to measure the thickness of the object. How can I do this? There is a way to measure from the outside, but I want to measure the thickness of only a specific object without be…

---

## [How to see the hit location of a line trace?](https://forums.unrealengine.com/t/how-to-see-the-hit-location-of-a-line-trace/2675554)

<div class="topic-metadata">

**Author:** [@NEYSE\_O001](https://forums.unrealengine.com/u/NEYSE_O001)\
**Replies:** 8\
**Last updated:** [November 17, 2025, 3:48pm UTC](https://forums.unrealengine.com/t/how-to-see-the-hit-location-of-a-line-trace/2675554 "2025-11-17T15:48:20Z")

</div>

Question is simple, how can I see or calcute the hit location of a line trace? Like world location. Also I want to calculate (or see) the inclination of the hit location of line trace. Think of it like a perfectly bou…

---

## [Enemy Line Trace ](https://forums.unrealengine.com/t/enemy-line-trace/2669868)

<div class="topic-metadata">

**Author:** [@ShakCQNQ](https://forums.unrealengine.com/u/ShakCQNQ)\
**Replies:** 6\
**Last updated:** [November 14, 2025, 10:02pm UTC](https://forums.unrealengine.com/t/enemy-line-trace/2669868 "2025-11-14T22:02:54Z")

</div>

I was wondering someone could help me out. I have a slight problem with my enemy AI line trace. The line trace works for the most part, the only problem is when the AI is on a higher or lower platform the line doesn’t ex…

---

## [Event hit (hit phys mat) always returns default in surface type](https://forums.unrealengine.com/t/event-hit-hit-phys-mat-always-returns-default-in-surface-type/469435)

<div class="topic-metadata">

**Author:** [@asomry](https://forums.unrealengine.com/u/asomry)\
**Replies:** 6\
**Last updated:** [November 3, 2025, 9:58pm UTC](https://forums.unrealengine.com/t/event-hit-hit-phys-mat-always-returns-default-in-surface-type/469435 "2025-11-03T21:58:23Z")

</div>

Hi, I’m using the code you see below to spawn custom decals depending on what type of material you hit… But when I use it always returns as default I’ve read online that turning on Return Mat on move fixes it but for me …

---

## [Overlap vs Sphere Trace?](https://forums.unrealengine.com/t/overlap-vs-sphere-trace/2665478)

<div class="topic-metadata">

**Author:** [@Extrahdmi](https://forums.unrealengine.com/u/Extrahdmi)\
**Replies:** 6\
**Last updated:** [October 17, 2025, 8:38am UTC](https://forums.unrealengine.com/t/overlap-vs-sphere-trace/2665478 "2025-10-17T08:38:15Z")

</div>

I’m trying to implement area damage, but we are considering alternatives due to a lack of ways to obtain components. Is it better to use sphere overlap or sphere trace to get all the components that fall within a range? …

---

## [Line Trace not Blocked by Physics Asset: Why?](https://forums.unrealengine.com/t/line-trace-not-blocked-by-physics-asset-why/2651183)

<div class="topic-metadata">

**Author:** [@jyelon](https://forums.unrealengine.com/u/jyelon)\
**Replies:** 3\
**Last updated:** [August 27, 2025, 10:39pm UTC](https://forums.unrealengine.com/t/line-trace-not-blocked-by-physics-asset-why/2651183 "2025-08-27T22:39:29Z")

</div>

I’m trying to get a line trace to hit a physics asset. I’ve configured everything in a way that I think is correct, yet the line trace just goes right through the character as if the character wasn’t there. Here is my b…

---

## [Water depth footstep sound effects](https://forums.unrealengine.com/t/water-depth-footstep-sound-effects/453063)

<div class="topic-metadata">

**Author:** [@CorsairOfLight](https://forums.unrealengine.com/u/CorsairOfLight)\
**Replies:** 8\
**Last updated:** [August 18, 2025, 10:08pm UTC](https://forums.unrealengine.com/t/water-depth-footstep-sound-effects/453063 "2025-08-18T22:08:05Z")

</div>

Hello all, I am trying to set up a sound effect system for an ocean shoreline, that changes your footstep sound effect based on how deep the water is getting. Now I know that you have to set up line traces and all that,…

---

## [Get landscape material using line trace?](https://forums.unrealengine.com/t/get-landscape-material-using-line-trace/406602)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_dd537c6e](https://forums.unrealengine.com/u/anonymous_user_dd537c6e)\
**Replies:** 6\
**Last updated:** [August 17, 2025, 2:19pm UTC](https://forums.unrealengine.com/t/get-landscape-material-using-line-trace/406602 "2025-08-17T14:19:30Z")

</div>

If you build a landscape material with several layers (rock, dirt, grass, etc), can a line trace detect and return the layer name at a hit location? I can get my vectors accurately, so thats something at least. I get th…

---

## [line trace not working when running project in headless mode using -nullrhi flag](https://forums.unrealengine.com/t/line-trace-not-working-when-running-project-in-headless-mode-using-nullrhi-flag/2474227)

<div class="topic-metadata">

**Author:** [@gwh0014](https://forums.unrealengine.com/u/gwh0014)\
**Replies:** 0\
**Last updated:** [April 24, 2025, 4:26pm UTC](https://forums.unrealengine.com/t/line-trace-not-working-when-running-project-in-headless-mode-using-nullrhi-flag/2474227 "2025-04-24T16:26:37Z")

</div>

I have a project set up where I am running rl agents down a track and i am using line trace to dynamically place spline points as the maps are loaded into the game during runtime. when i do this normally by just hitting …

---

## [uPrimitiveComponent-\>LineTraceComponent in Async Physics Tick](https://forums.unrealengine.com/t/uprimitivecomponent-linetracecomponent-in-async-physics-tick/2349680)

<div class="topic-metadata">

**Author:** [@HellFireHE](https://forums.unrealengine.com/u/HellFireHE)\
**Replies:** 2\
**Last updated:** [February 27, 2025, 1:08am UTC](https://forums.unrealengine.com/t/uprimitivecomponent-linetracecomponent-in-async-physics-tick/2349680 "2025-02-27T01:08:32Z")

</div>

LineTraceComponent used in Async Physics Tick handler complains about: Ensure condition failed: IsInGameThreadContext() \[File:D:\\build\\++UE5\\Sync\\Engine\\Source\\Runtime\\Experimental\\Chaos\\Public\\Framework\\Threading.h\] \[…

---

## [Line trace for specified Actor](https://forums.unrealengine.com/t/line-trace-for-specified-actor/1365623)

<div class="topic-metadata">

**Author:** [@gvnnp](https://forums.unrealengine.com/u/gvnnp)\
**Replies:** 6\
**Last updated:** [February 25, 2025, 7:48pm UTC](https://forums.unrealengine.com/t/line-trace-for-specified-actor/1365623 "2025-02-25T19:48:27Z")

</div>

Is there any simpler way to do a line trace for Actor than repeating the trace until it hits the actor or doesn’t hit anything?

---

## [Does the Trace Complex checkbox do not functional?](https://forums.unrealengine.com/t/does-the-trace-complex-checkbox-do-not-functional/2351804)

<div class="topic-metadata">

**Author:** [@chofuqiushan](https://forums.unrealengine.com/u/chofuqiushan)\
**Replies:** 3\
**Last updated:** [February 23, 2025, 8:40pm UTC](https://forums.unrealengine.com/t/does-the-trace-complex-checkbox-do-not-functional/2351804 "2025-02-23T20:40:30Z")

</div>

I am confused about the items in Trace Complex. Static meshes have simple and complex collision, and I think Trace Complex probably traces the complex collision. I have a Static Mesh with collision set to “Simple And C…

---

## [I built a C++ plugin to make vehicle debugging in Unreal way easier! ](https://forums.unrealengine.com/t/i-built-a-c-plugin-to-make-vehicle-debugging-in-unreal-way-easier/2323374)

<div class="topic-metadata">

**Author:** [@gordazo0](https://forums.unrealengine.com/u/gordazo0)\
**Replies:** 0\
**Last updated:** [February 8, 2025, 8:13pm UTC](https://forums.unrealengine.com/t/i-built-a-c-plugin-to-make-vehicle-debugging-in-unreal-way-easier/2323374 "2025-02-08T20:13:00Z")

</div>

---

## [How can I use Line Traces/Blueprint events in Sequencer](https://forums.unrealengine.com/t/how-can-i-use-line-traces-blueprint-events-in-sequencer/2320060)

<div class="topic-metadata">

**Author:** [@YORU8843](https://forums.unrealengine.com/u/YORU8843)\
**Replies:** 4\
**Last updated:** [February 6, 2025, 5:28pm UTC](https://forums.unrealengine.com/t/how-can-i-use-line-traces-blueprint-events-in-sequencer/2320060 "2025-02-06T17:28:19Z")

</div>

Hi, I have a question regarding the sequencer. I’m making a short video, for it I want to use line traces for a specific purpose, I was wondering how I could use this function I made in my blueprint, either on tick, or i…

---

## [Line trace based on reflection (bounce)](https://forums.unrealengine.com/t/line-trace-based-on-reflection-bounce/304286)

<div class="topic-metadata">

**Author:** [@GreasyExcretion](https://forums.unrealengine.com/u/GreasyExcretion)\
**Replies:** 22\
**Last updated:** [February 2, 2025, 11:17pm UTC](https://forums.unrealengine.com/t/line-trace-based-on-reflection-bounce/304286 "2025-02-02T23:17:58Z")

</div>

I have a shoot mechanic that launches a physics ball that can bounce on the level collision (it is basically the FPS template ball). In relation to this I want to create a preview of the bounce trajectory. The idea is to…

---

## [Problem with Line Trace/Sphere Trace Fires in All Clients??](https://forums.unrealengine.com/t/problem-with-line-trace-sphere-trace-fires-in-all-clients/2311700)

<div class="topic-metadata">

**Author:** [@RAT\_Official](https://forums.unrealengine.com/u/RAT_Official)\
**Replies:** 1\
**Last updated:** [January 31, 2025, 12:54pm UTC](https://forums.unrealengine.com/t/problem-with-line-trace-sphere-trace-fires-in-all-clients/2311700 "2025-01-31T12:54:39Z")

</div>

Even though, i am running Custom Event “Run on owning Client”… it somehow runs on both other clients and server Somehow, other clients interact with other clients?? i mean in a way : Server : Works normal, only …

---

## [Line trace by multiple channels possible?](https://forums.unrealengine.com/t/line-trace-by-multiple-channels-possible/341610)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c0687f281](https://forums.unrealengine.com/u/anonymous_user_c0687f281)\
**Replies:** 5\
**Last updated:** [January 25, 2025, 11:36pm UTC](https://forums.unrealengine.com/t/line-trace-by-multiple-channels-possible/341610 "2025-01-25T23:36:52Z")

</div>

Hi there, Is there any method to do a line trace by channel, but trace for more than one channel at once? In my case I would like to trace for the (custom) channels UIObject AND UsableObject. Any ideas? Thank you!

---

## [Need help with finding rotation of line trace.](https://forums.unrealengine.com/t/need-help-with-finding-rotation-of-line-trace/2268966)

<div class="topic-metadata">

**Author:** [@TTGR.Pro](https://forums.unrealengine.com/u/TTGR.Pro)\
**Replies:** 6\
**Last updated:** [January 10, 2025, 7:54am UTC](https://forums.unrealengine.com/t/need-help-with-finding-rotation-of-line-trace/2268966 "2025-01-10T07:54:24Z")

</div>

I am working on a game that includes a feature that allows the player to place sticky notes on static meshes. My original method for finding the correct rotation was doing 6 line traces (1 for each direction) then rotati…

---

## [interaction linetrace open several doors in unreal engine 5](https://forums.unrealengine.com/t/interaction-linetrace-open-several-doors-in-unreal-engine-5/2242197)

<div class="topic-metadata">

**Author:** [@Jacob.Gordan](https://forums.unrealengine.com/u/Jacob.Gordan)\
**Replies:** 14\
**Last updated:** [January 9, 2025, 7:17pm UTC](https://forums.unrealengine.com/t/interaction-linetrace-open-several-doors-in-unreal-engine-5/2242197 "2025-01-09T19:17:17Z")

</div>

I am working on a project in Unreal Engine 5, where there are cabinets with 2 or more drawers/doors that need to be opened sequentially by pointing the camera at them and pressing the E button. For example, with a singl…

---

## [What can I do to fix the angle of the foot in different character rotations?](https://forums.unrealengine.com/t/what-can-i-do-to-fix-the-angle-of-the-foot-in-different-character-rotations/2132508)

<div class="topic-metadata">

**Author:** [@dabbbbbbbb5656](https://forums.unrealengine.com/u/dabbbbbbbb5656)\
**Replies:** 17\
**Last updated:** [December 20, 2024, 1:22pm UTC](https://forums.unrealengine.com/t/what-can-i-do-to-fix-the-angle-of-the-foot-in-different-character-rotations/2132508 "2024-12-20T13:22:25Z")

</div>

Here I’m trying to set the foot angle to follow the slope angle, and it does only work when the actor forward vector (Y) is -1 or 1. What can I do to fix the angle of the foot in different character rotations?

---

## [Line trace ignores specific mesh](https://forums.unrealengine.com/t/line-trace-ignores-specific-mesh/2170472)

<div class="topic-metadata">

**Author:** [@Drifty86](https://forums.unrealengine.com/u/Drifty86)\
**Replies:** 5\
**Last updated:** [December 10, 2024, 2:49pm UTC](https://forums.unrealengine.com/t/line-trace-ignores-specific-mesh/2170472 "2024-12-10T14:49:57Z")

</div>

I have a line trace from the player camera to detect if the player is looking at a weapon. The line trace returns all the objects around this weapon, but passes through the weapon as if it isn’t even there. I have play…

---

## [Vulkan ray tracing pipelines are only supported in bindless.](https://forums.unrealengine.com/t/vulkan-ray-tracing-pipelines-are-only-supported-in-bindless/2188899)

<div class="topic-metadata">

**Author:** [@elwetritsche97](https://forums.unrealengine.com/u/elwetritsche97)\
**Replies:** 1\
**Last updated:** [December 10, 2024, 7:55am UTC](https://forums.unrealengine.com/t/vulkan-ray-tracing-pipelines-are-only-supported-in-bindless/2188899 "2024-12-10T07:55:34Z")

</div>

I am on Ubuntu 22.04 with Unreal 5.5 and nvidia 550 This describes the setup for Vulkan under Linux. I changed accordingly: Engine/Config/VulkanPC/DataDrivenPlatformInfo.ini Engine/Config/Linux/BaseLinuxEngine.ini T…

[Next page](https://forums.unrealengine.com/tag/line-trace/2295.md?match_all_tags=true&page=1&tags%5B%5D=line-trace)
