# Trace a line from the inside of a static mesh

**URL:** <https://forums.unrealengine.com/t/trace-a-line-from-the-inside-of-a-static-mesh/2833335>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [September 22, 2026, 2:47pm UTC](https://forums.unrealengine.com/t/trace-a-line-from-the-inside-of-a-static-mesh/2833335 "2026-09-22T14:47:10Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ViaCognita](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viacognita/32/906601_2.png) [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Post date:** [September 22, 2026, 2:47pm UTC](https://forums.unrealengine.com/t/trace-a-line-from-the-inside-of-a-static-mesh/2833335/1 "2026-09-22T14:47:10Z")

</div>

Hi!

I have created a semi-sphere in the Modeling mode with any collision. I want to do a line trace from inside the semi-sphere and get the Impact point but the line doesn’t hit anything. I think the problem is, of course, with the semi-sphere, I have to set something to be hit by the line trace, or use another line trace node.

This is the semi-sphere. The player will always be inside:

 ![imagen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/a/32a343aa9a483f487517ecdb9479258802814957.jpeg)

This is what I’m doing right now.

 ![imagen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/f/66f51e23fe6ced8c1dc9d16da04b3a2a14340199.png)

This is what you see inside the semi-sphere:

 ![imagen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/6/b/46be1e24f68f1d62137e696ef2c7cb39bb7089b2.jpeg)

How can I do it?

Thanks!

---

<div class="post-metadata">

**Author:** ![BRGEzedeRocco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brgezederocco/32/1216890_2.png) [@BRGEzedeRocco](https://forums.unrealengine.com/u/BRGEzedeRocco)\
**Post date:** [September 22, 2026, 4:46pm UTC](https://forums.unrealengine.com/t/trace-a-line-from-the-inside-of-a-static-mesh/2833335/2 "2026-09-22T16:46:34Z")

</div>

Hello @ViaCognita ,  
If the semi-sphere has no collision, then the **Line Trace** will not be able to detect it, since traces work against collision and not against the visual geometry of a mesh. That’s why it’s normal that you’re not getting any hit result.

My question is: are you trying to create some kind of dome or enclosed area where the player has to find a specific point to exit or interact with something?

If you could share a more specific example of what you’re trying to achieve, it would be easier to understand the problem and suggest a better solution.

I also have another question: when you’re inside the semi-sphere, should you be able to see its inner walls?

If you can provide more specific details about what you’re trying to achieve, that would also be helpful.

---

<div class="post-metadata">

**Author:** ![ViaCognita](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viacognita/32/906601_2.png) [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Post date:** [September 22, 2026, 4:50pm UTC](https://forums.unrealengine.com/t/trace-a-line-from-the-inside-of-a-static-mesh/2833335/3 "2026-09-22T16:50:50Z")

</div>

> [@BRGEzedeRocco](#):
>
> If the semi-sphere has no collision

I have added simple collision but after that, the player couldn’t go inside.

> [@BRGEzedeRocco](#):
>
> are you trying to create some kind of dome or enclosed area

Yes, I’m trying to create a dome. The player will be always inside.

> [@BRGEzedeRocco](#):
>
> If you could share a more specific example

I want to know the (x, y, z) in world coordinates where the line trace hit the semi-sphere.

> [@BRGEzedeRocco](#):
>
> when you’re inside the semi-sphere, should you be able to see its inner walls?

No, I don’t need to see the inner walls.

Thanks!

---

<div class="post-metadata">

**Author:** ![KryogenicGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kryogenicgames/32/1201049_2.png) [@KryogenicGames](https://forums.unrealengine.com/u/KryogenicGames)\
**Post date:** [September 22, 2026, 6:30pm UTC](https://forums.unrealengine.com/t/trace-a-line-from-the-inside-of-a-static-mesh/2833335/4 "2026-09-22T18:30:09Z")

</div>

sadly this is engine limitation how geometry is created, i did find this workaround but you use 2 line traces

> **[Screenshot](https://prnt.sc/_FJqfh0aGi9N)**
>
> Captured with Lightshot

shoot line from player out and then shoot another one bat toward player so you get hit from outside, hope this give you some starting point to experiment on more perf solution

> **[Screenshot](https://prnt.sc/Fu0DiSlC4zIz)**
>
> Captured with Lightshot

actually do this :D:D

> **[Screenshot](https://prnt.sc/iLCng27SOrR0)**
>
> Captured with Lightshot

---

<div class="post-metadata">

**Author:** ![BRGEzedeRocco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brgezederocco/32/1216890_2.png) [@BRGEzedeRocco](https://forums.unrealengine.com/u/BRGEzedeRocco)\
**Post date:** [September 22, 2026, 6:36pm UTC](https://forums.unrealengine.com/t/trace-a-line-from-the-inside-of-a-static-mesh/2833335/5 "2026-09-22T18:36:26Z")

</div>

You can try the following:  
First, open the Static Mesh and generate a collision. In this example, I used Add 26DOP Simplified Collision, but you can choose whichever one best fits your project’s needs. Then, in Collision Presets, set Pawn and Camera to Ignore so that you can enter the dome.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/b/35b8bd99fa99f5ec38b4f55a5b2b3c8ee320b01d.jpeg)

After that, in the Break Hit Result, you can use Impact Point, which will return the X, Y, and Z coordinates of the point where the Line Trace hits.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/3/2/9321fcd4b7140e8c76e16667ed004fd7f1eb6537.png)

In case you need another value, such as Impact Normal, I’ll leave the official documentation below, which explains what each of the values returned by the Break Hit Result node is used for.

> **[Break Hit Result | Unreal Engine 5.8 Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/unreal-engine/BlueprintAPI/Collision/BreakHitResult)**
>
> Break Hit Result

Hope it helps!

---

<div class="post-metadata">

**Author:** ![illspiritx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@illspiritx](https://forums.unrealengine.com/u/illspiritx)\
**Post date:** [September 23, 2026, 1:44am UTC](https://forums.unrealengine.com/t/trace-a-line-from-the-inside-of-a-static-mesh/2833335/6 "2026-09-23T01:44:43Z")

</div>

What are you going to use the hit result for anyway? Depending the desired effect, there may be easier ways to find a location on a sphere.

---

<div class="post-metadata">

**Author:** ![ViaCognita](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viacognita/32/906601_2.png) [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Post date:** [September 23, 2026, 6:03am UTC](https://forums.unrealengine.com/t/trace-a-line-from-the-inside-of-a-static-mesh/2833335/7 "2026-09-23T06:03:58Z")

</div>

> [@illspiritx](#):
>
> What are you going to use the hit result for anyway?

To calculate its right ascension and declination.

---

<div class="post-metadata">

**Author:** ![ViaCognita](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viacognita/32/906601_2.png) [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Post date:** [September 23, 2026, 6:07am UTC](https://forums.unrealengine.com/t/trace-a-line-from-the-inside-of-a-static-mesh/2833335/8 "2026-09-23T06:07:24Z")

</div>

> [@KryogenicGames](#):
>
> actually do this :D:D

That’s what I was trying to do as well, but I couldn’t work out how to go about it.

I’ll let you know the results.

---

<div class="post-metadata">

**Author:** ![ViaCognita](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viacognita/32/906601_2.png) [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Post date:** [September 23, 2026, 8:55am UTC](https://forums.unrealengine.com/t/trace-a-line-from-the-inside-of-a-static-mesh/2833335/9 "2026-09-23T08:55:13Z")

</div>

> [@KryogenicGames](#):
>
> actually do this :D:D

I have tried your solution and it only works when the sphere has a collision. But, if I add a collision to the sphere the player can’t be inside.

I’ll let you know when it works. In other words, find a way to let player be inside when the sphere has a collision.

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [September 23, 2026, 1:20pm UTC](https://forums.unrealengine.com/t/trace-a-line-from-the-inside-of-a-static-mesh/2833335/10 "2026-09-23T13:20:51Z")

</div>

You just need a separate collison channel and have the sphere and the trace exclusively on it. Youll need this anyway as other actors could block the visibility trace

---

<div class="post-metadata">

**Author:** ![KryogenicGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kryogenicgames/32/1201049_2.png) [@KryogenicGames](https://forums.unrealengine.com/u/KryogenicGames)\
**Post date:** [September 23, 2026, 1:38pm UTC](https://forums.unrealengine.com/t/trace-a-line-from-the-inside-of-a-static-mesh/2833335/11 "2026-09-23T13:38:56Z")

</div>

just set your collision to custom and set ignore pawn
