# \#hit-result

**URL:** https://forums.unrealengine.com/tag/hit-result/2494.md

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

---

## [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…

---

## [Hit result under cursor while dragging widgets](https://forums.unrealengine.com/t/hit-result-under-cursor-while-dragging-widgets/451561)

<div class="topic-metadata">

**Author:** [@BlackBird604](https://forums.unrealengine.com/u/BlackBird604)\
**Replies:** 4\
**Last updated:** [June 3, 2025, 11:53am UTC](https://forums.unrealengine.com/t/hit-result-under-cursor-while-dragging-widgets/451561 "2025-06-03T11:53:00Z")

</div>

Hello, I’ve created a simple draggable widget that creates a drag operation. The class of the DragVisual is different from the actual draggable widget. It consists only of an image. Both the DragVisual widget and its im…

---

## [Where is a Hit Result members?](https://forums.unrealengine.com/t/where-is-a-hit-result-members/2354438)

<div class="topic-metadata">

**Author:** [@chofuqiushan](https://forums.unrealengine.com/u/chofuqiushan)\
**Replies:** 2\
**Last updated:** [February 25, 2025, 5:05am UTC](https://forums.unrealengine.com/t/where-is-a-hit-result-members/2354438 "2025-02-25T05:05:12Z")

</div>

Maybe that’s a bit of a goofy question. I am trying to assign additional information to an unused item in the Hit Result, but no matter how hard I search, I cannot find any members of the Hit Result. Where on earth is …

---

## [How can I get the material index that was physical hits?](https://forums.unrealengine.com/t/how-can-i-get-the-material-index-that-was-physical-hits/2348197)

<div class="topic-metadata">

**Author:** [@chofuqiushan](https://forums.unrealengine.com/u/chofuqiushan)\
**Replies:** 6\
**Last updated:** [February 23, 2025, 6:12am UTC](https://forums.unrealengine.com/t/how-can-i-get-the-material-index-that-was-physical-hits/2348197 "2025-02-23T06:12:06Z")

</div>

I found a way to get the material from the Face Index with line tracing. I want to do the same with component hit but Face Index always returns 0. I’m using a static mesh and have set it to complex collision but the r…

---

## [Hit result under finger is always returning null or 0](https://forums.unrealengine.com/t/hit-result-under-finger-is-always-returning-null-or-0/295111)

<div class="topic-metadata">

**Author:** [@Asher\_S\_Einhorn](https://forums.unrealengine.com/u/Asher_S_Einhorn)\
**Replies:** 9\
**Last updated:** [April 9, 2024, 3:37pm UTC](https://forums.unrealengine.com/t/hit-result-under-finger-is-always-returning-null-or-0/295111 "2024-04-09T15:37:43Z")

</div>

My code works on a PC, but when I try and catch a touch event instead of a click event and cast a hit result from that (on an android device) the location is 0 no matter where I touch, and the actor is null no matter wha…

---

## [Normal or Impact Normal?](https://forums.unrealengine.com/t/normal-or-impact-normal/2029299)

<div class="topic-metadata">

**Author:** [@turbotanaka](https://forums.unrealengine.com/u/turbotanaka)\
**Replies:** 3\
**Last updated:** [September 20, 2024, 9:13am UTC](https://forums.unrealengine.com/t/normal-or-impact-normal/2029299 "2024-09-20T09:13:53Z")

</div>

I don’t understand the difference between Normal and Impact Normal in Hit Result. I’ve tried searching but only find vague answers. (This may be due to a nuance in the translation) What are the differences? Which shou…

---

## [How can a mesh be detected by shooting from Line Trace and hitting a WPO material?](https://forums.unrealengine.com/t/how-can-a-mesh-be-detected-by-shooting-from-line-trace-and-hitting-a-wpo-material/1780393)

<div class="topic-metadata">

**Author:** [@diModrone](https://forums.unrealengine.com/u/diModrone)\
**Replies:** 2\
**Last updated:** [March 31, 2024, 9:52pm UTC](https://forums.unrealengine.com/t/how-can-a-mesh-be-detected-by-shooting-from-line-trace-and-hitting-a-wpo-material/1780393 "2024-03-31T21:52:41Z")

</div>

Guys, what if the Line Trace + Break Hit Result ends up in the point where the material is currently located, which is shifted by the World Position Offset (y -4000px, for example), and not in the static mesh itself on w…

---

## [Access methods of HitActor made from blueprint (based on C++ parent class)](https://forums.unrealengine.com/t/access-methods-of-hitactor-made-from-blueprint-based-on-c-parent-class/781028)

<div class="topic-metadata">

**Author:** [@Olivetum](https://forums.unrealengine.com/u/Olivetum)\
**Replies:** 1\
**Last updated:** [March 1, 2023, 7:57am UTC](https://forums.unrealengine.com/t/access-methods-of-hitactor-made-from-blueprint-based-on-c-parent-class/781028 "2023-03-01T07:57:04Z")

</div>

Hi. I am learning Unreal alongside C++ and have lost somewhere between C++ derived Blueprint and OutHit. The setup: I have a UsableObject parent class that provides a simple UseObject() method that for now just ulog “O…

---

## [How to sweep by scaling a sphere?](https://forums.unrealengine.com/t/how-to-sweep-by-scaling-a-sphere/372002)

<div class="topic-metadata">

**Author:** [@Thumper](https://forums.unrealengine.com/u/Thumper)\
**Replies:** 6\
**Last updated:** [January 10, 2023, 11:55am UTC](https://forums.unrealengine.com/t/how-to-sweep-by-scaling-a-sphere/372002 "2023-01-10T11:55:31Z")

</div>

I’m curious how to use SweepSingleByChannel. I see that it has a start and end vector, and a collision shape. I’m guessing it takes the collision shape and moves it between the start and end vector. For my purposes al…

---

## [Exit for a line trace](https://forums.unrealengine.com/t/exit-for-a-line-trace/301052)

<div class="topic-metadata">

**Author:** [@HarshiniIsvi\_1](https://forums.unrealengine.com/u/HarshiniIsvi_1)\
**Replies:** 7\
**Last updated:** [June 4, 2022, 11:32am UTC](https://forums.unrealengine.com/t/exit-for-a-line-trace/301052 "2022-06-04T11:32:40Z")

</div>

When the ray hits an object The ‘Break hit Result’ has the actor’s information. How do I know when a ray leaves an object, I mean when it stops hitting or when it exits an object?

---

## [Can Radial Damage return more than one Bone?](https://forums.unrealengine.com/t/can-radial-damage-return-more-than-one-bone/330189)

<div class="topic-metadata">

**Author:** [@Abarudra](https://forums.unrealengine.com/u/Abarudra)\
**Replies:** 1\
**Last updated:** [April 25, 2022, 10:28am UTC](https://forums.unrealengine.com/t/can-radial-damage-return-more-than-one-bone/330189 "2022-04-25T10:28:20Z")

</div>

Hi there, i have a quick question. Is it possible to get a list of all Bones that were “hit” by Radial Damage? The Player in my Game is able to Damage individual Parts of the Body (Head, Torso, Limbs, …). For Explosiv…

---

## [Line trace issue in a TPS](https://forums.unrealengine.com/t/line-trace-issue-in-a-tps/491531)

<div class="topic-metadata">

**Author:** [@SevenRedFalls](https://forums.unrealengine.com/u/SevenRedFalls)\
**Replies:** 1\
**Last updated:** [February 2, 2022, 6:57am UTC](https://forums.unrealengine.com/t/line-trace-issue-in-a-tps/491531 "2022-02-02T06:57:46Z")

</div>

Hello good people of UE forum, I’m facing an issue with a line trace by channel in a TPS i’m trying to make for learning purposes. So I want to avoid people being able to shoot while being behind a wall, so I have a li…

---

## [Other method melee weapons attack system with Network](https://forums.unrealengine.com/t/other-method-melee-weapons-attack-system-with-network/489430)

<div class="topic-metadata">

**Author:** [@captainTvZs](https://forums.unrealengine.com/u/captainTvZs)\
**Replies:** 0\
**Last updated:** [October 1, 2021, 11:24pm UTC](https://forums.unrealengine.com/t/other-method-melee-weapons-attack-system-with-network/489430 "2021-10-01T23:24:03Z")

</div>

Hello there, We’ve finished our game and there are very few days left for the open beta. In our game, enemies are damaged with melee weapons. I’m doing this damage job by creating notify in my animation and making a gat…

---

## [LineTrace backface](https://forums.unrealengine.com/t/linetrace-backface/427139)

<div class="topic-metadata">

**Author:** [@damianpodwiazka](https://forums.unrealengine.com/u/damianpodwiazka)\
**Replies:** 2\
**Last updated:** [May 22, 2021, 11:21pm UTC](https://forums.unrealengine.com/t/linetrace-backface/427139 "2021-05-22T23:21:43Z")

</div>

Hey, I have a problem with LineTrace - it’s not hitting backface of walls that are made of planes. Is there any way to make them TwoSided for LineTrace?

---

## [Trace hit result on Skeletal Mesh does not return Bone name as a hit result](https://forums.unrealengine.com/t/trace-hit-result-on-skeletal-mesh-does-not-return-bone-name-as-a-hit-result/325078)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2a687cc6](https://forums.unrealengine.com/u/anonymous_user_2a687cc6)\
**Replies:** 11\
**Last updated:** [April 14, 2021, 1:22am UTC](https://forums.unrealengine.com/t/trace-hit-result-on-skeletal-mesh-does-not-return-bone-name-as-a-hit-result/325078 "2021-04-14T01:22:08Z")

</div>

I am trying to print bone name of my character on clicking on character using Single Line Trace by channel. In its Hit results there is Bone Name result which on printing gives “NONE”. Dont know why is it happening as i…

---

## [Rotating instance around normal problem](https://forums.unrealengine.com/t/rotating-instance-around-normal-problem/474838)

<div class="topic-metadata">

**Author:** [@JAMBALAIJA2](https://forums.unrealengine.com/u/JAMBALAIJA2)\
**Replies:** 2\
**Last updated:** [November 22, 2020, 12:50pm UTC](https://forums.unrealengine.com/t/rotating-instance-around-normal-problem/474838 "2020-11-22T12:50:31Z")

</div>

link text Im trying to rotate instance around impact normal and it works when rotation of actor is 0. But problems come when i rotate actor. From link you can see what happens. How could i rotate instance around normal…

---

## [Get Hit Result Under Cursor](https://forums.unrealengine.com/t/get-hit-result-under-cursor/474426)

<div class="topic-metadata">

**Author:** [@Teapot\_Creation](https://forums.unrealengine.com/u/Teapot_Creation)\
**Replies:** 5\
**Last updated:** [November 13, 2020, 3:31pm UTC](https://forums.unrealengine.com/t/get-hit-result-under-cursor/474426 "2020-11-13T15:31:22Z")

</div>

Hey there, I’m using a Get Hit Result Under Cursor for Objects node, with a specific (custom) object type defined as a target. Shouldn’t this work only if the Object is directly under the cursor ? Hit result is valid e…

---

## [Retrieve material properties from hit event](https://forums.unrealengine.com/t/retrieve-material-properties-from-hit-event/466077)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7472ab1d](https://forums.unrealengine.com/u/anonymous_user_7472ab1d)\
**Replies:** 0\
**Last updated:** [June 1, 2020, 3:48am UTC](https://forums.unrealengine.com/t/retrieve-material-properties-from-hit-event/466077 "2020-06-01T03:48:17Z")

</div>

I am implement a virtual Lidar: it sends laser beam and receive the beam back, need to collect distance and intensity. I’ve complete distance collection: lince trace by channel - \> hit result → distance. But I get st…

---

## [HitResult check if i hit head bone](https://forums.unrealengine.com/t/hitresult-check-if-i-hit-head-bone/465661)

<div class="topic-metadata">

**Author:** [@BEnSon1101](https://forums.unrealengine.com/u/BEnSon1101)\
**Replies:** 2\
**Last updated:** [May 24, 2020, 12:15am UTC](https://forums.unrealengine.com/t/hitresult-check-if-i-hit-head-bone/465661 "2020-05-24T00:15:23Z")

</div>

i do a LineTraceSingleByChannel and if (HitResult.BoneName == How to i reference head bone) { }

---

## [Get material from GetMaterialFromCollisionFaceIndex](https://forums.unrealengine.com/t/get-material-from-getmaterialfromcollisionfaceindex/464521)

<div class="topic-metadata">

**Author:** [@Bitwaker](https://forums.unrealengine.com/u/Bitwaker)\
**Replies:** 1\
**Last updated:** [May 1, 2020, 4:36pm UTC](https://forums.unrealengine.com/t/get-material-from-getmaterialfromcollisionfaceindex/464521 "2020-05-01T16:36:37Z")

</div>

I’m obtaining the material that corresponds with the face hit by a LineTrace using the node GetMaterialFromCollisionFaceIndex. This node is very useful but as a result of the call I’m getting a Material Interface Object …

---

## [SweepMulti HitResult returning bones but only want the Actor](https://forums.unrealengine.com/t/sweepmulti-hitresult-returning-bones-but-only-want-the-actor/459272)

<div class="topic-metadata">

**Author:** [@Novacaine\_1](https://forums.unrealengine.com/u/Novacaine_1)\
**Replies:** 0\
**Last updated:** [December 9, 2019, 8:35am UTC](https://forums.unrealengine.com/t/sweepmulti-hitresult-returning-bones-but-only-want-the-actor/459272 "2019-12-09T08:35:23Z")

</div>

Currently I’m trying to create explosive that apply damage to the player, my code currently does the correct damage but the damage is applied per bone killing the player instantly. I only want it to apply to the actors o…

---

## [Raycast doesn't register actor c++?](https://forums.unrealengine.com/t/raycast-doesnt-register-actor-c/458610)

<div class="topic-metadata">

**Author:** [@ECTheHunter](https://forums.unrealengine.com/u/ECTheHunter)\
**Replies:** 0\
**Last updated:** [November 19, 2019, 7:55pm UTC](https://forums.unrealengine.com/t/raycast-doesnt-register-actor-c/458610 "2019-11-19T19:55:17Z")

</div>

if (GetWorld()-\>LineTraceSingleByChannel(OutHit, Start, End, ECC\_Visibility, CollisionParams)) { if (OutHit.GetActor()) { ABomberCharachter \*bomber = Cast(OutHit.GetActor()); if (bomber) { if (GEngine) { GEngine-\>A…

---

## [Extracting procedural mesh component information from hit actor node](https://forums.unrealengine.com/t/extracting-procedural-mesh-component-information-from-hit-actor-node/453747)

<div class="topic-metadata">

**Author:** [@ege19ege](https://forums.unrealengine.com/u/ege19ege)\
**Replies:** 1\
**Last updated:** [September 26, 2019, 3:02pm UTC](https://forums.unrealengine.com/t/extracting-procedural-mesh-component-information-from-hit-actor-node/453747 "2019-09-26T15:02:29Z")

</div>

hello, There is a first person shooter standing on a procedural mesh floor in the scene. There is a single blueprint to generate the mesh, and another blueprint to control the character. I want the character to deform t…

---

## [How do I get the face of my mesh my cursor hits?](https://forums.unrealengine.com/t/how-do-i-get-the-face-of-my-mesh-my-cursor-hits/429294)

<div class="topic-metadata">

**Author:** [@FrustratedProgrammer](https://forums.unrealengine.com/u/FrustratedProgrammer)\
**Replies:** 11\
**Last updated:** [August 29, 2019, 2:11am UTC](https://forums.unrealengine.com/t/how-do-i-get-the-face-of-my-mesh-my-cursor-hits/429294 "2019-08-29T02:11:00Z")

</div>

Is there a reason you particularly need the material? If you want to know which side of a cube is being hit, you can get that by comparing the impact normal with the orientation of the cube by getting the dot product of …

---

## [I can't get touch result on a button](https://forums.unrealengine.com/t/i-cant-get-touch-result-on-a-button/453466)

<div class="topic-metadata">

**Author:** [@KOMPLE21](https://forums.unrealengine.com/u/KOMPLE21)\
**Replies:** 3\
**Last updated:** [August 7, 2019, 9:17pm UTC](https://forums.unrealengine.com/t/i-cant-get-touch-result-on-a-button/453466 "2019-08-07T21:17:15Z")

</div>

Hello! Anyone knows why my spawned button doesnt count as touch input? Is it the Z order? I want to get a hit result under finger on a button and set a relevant location on world. But when i press the button i dont get a…

---

## [Why does the Distance Value Returned from LineTraceByChannel have a max of 200 before looping back around to 0](https://forums.unrealengine.com/t/why-does-the-distance-value-returned-from-linetracebychannel-have-a-max-of-200-before-looping-back-around-to-0/452378)

<div class="topic-metadata">

**Author:** [@Novalmauge](https://forums.unrealengine.com/u/Novalmauge)\
**Replies:** 0\
**Last updated:** [July 16, 2019, 9:40pm UTC](https://forums.unrealengine.com/t/why-does-the-distance-value-returned-from-linetracebychannel-have-a-max-of-200-before-looping-back-around-to-0/452378 "2019-07-16T21:40:19Z")

</div>

I’m trying to add the ability to crouch to VR and I came up with the idea to use a LineTrace to find the current distance to the first mesh below the VR Character. However, for some reason when the distance to the ground…

---

## [Accessed none trying to read hit result](https://forums.unrealengine.com/t/accessed-none-trying-to-read-hit-result/448041)

<div class="topic-metadata">

**Author:** [@OniricMaster](https://forums.unrealengine.com/u/OniricMaster)\
**Replies:** 1\
**Last updated:** [April 29, 2019, 9:34am UTC](https://forums.unrealengine.com/t/accessed-none-trying-to-read-hit-result/448041 "2019-04-29T09:34:13Z")

</div>

Hi i’m currently trying to implement a combat system similar to that seen in most ARPG’s such as Diablo. I’m getting an error and I understand why its happening I just don’t know how to make it so the error doesn’t appea…

---

## [How to make a function output node return a Desired Object Refrence Type from trace hit result?](https://forums.unrealengine.com/t/how-to-make-a-function-output-node-return-a-desired-object-refrence-type-from-trace-hit-result/447218)

<div class="topic-metadata">

**Author:** [@Alunnite](https://forums.unrealengine.com/u/Alunnite)\
**Replies:** 2\
**Last updated:** [April 14, 2019, 3:22pm UTC](https://forums.unrealengine.com/t/how-to-make-a-function-output-node-return-a-desired-object-refrence-type-from-trace-hit-result/447218 "2019-04-14T15:22:46Z")

</div>

I want a function’s output to be of a specific object reference type (ORT). I’m struggling to figure out how to do this in blueprints, as line trace (out hit hit actor) returns a generalized Actor ORT. I can check that t…

---

## [Simple Raytrace distance = 0](https://forums.unrealengine.com/t/simple-raytrace-distance-0/444965)

<div class="topic-metadata">

**Author:** [@Resupply8672](https://forums.unrealengine.com/u/Resupply8672)\
**Replies:** 1\
**Last updated:** [March 10, 2019, 1:06am UTC](https://forums.unrealengine.com/t/simple-raytrace-distance-0/444965 "2019-03-10T01:06:06Z")

</div>

I’ve written a function which raytraces directly downwards from the VR camera (to detect if the player is currently ducking), but the distance is returning 0 in the log. I’ve avoided self- collision with AddIgnoredActor…

---

## [Get exact Location of hit on Actor Mesh](https://forums.unrealengine.com/t/get-exact-location-of-hit-on-actor-mesh/444321)

<div class="topic-metadata">

**Author:** [@cesarizu](https://forums.unrealengine.com/u/cesarizu)\
**Replies:** 0\
**Last updated:** [February 28, 2019, 11:54am UTC](https://forums.unrealengine.com/t/get-exact-location-of-hit-on-actor-mesh/444321 "2019-02-28T11:54:15Z")

</div>

When two actors hit, the hit event either fires before the hit or after (if using CCD). Is there any way to make it fire on contact? I tried to find a way to reposition the actor but I cannot seem to find the point of c…

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