# Line trace is offset from starting point

**URL:** <https://forums.unrealengine.com/t/line-trace-is-offset-from-starting-point/2727153>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [June 8, 2026, 12:34pm UTC](https://forums.unrealengine.com/t/line-trace-is-offset-from-starting-point/2727153 "2026-06-08T12:34:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gia](https://forums.unrealengine.com/u/gia)\
**Post date:** [June 8, 2026, 12:34pm UTC](https://forums.unrealengine.com/t/line-trace-is-offset-from-starting-point/2727153/1 "2026-06-08T12:34:14Z")

</div>

This worked correctly on Unreal 5.1 but moved to 5.7 and it broke

I have a line trace from my actor location downwards, the trace seems to be acting correctly (there is a collision to hit under the actor, it is just hidden) but the drawing of the trace is offset (as you can see) away from my actor

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/0/b/10b2fb63e286d3c8fa7da9a81c1695aaee7b955b.png)

I tried deleting the trace node and recreating it but nothing, any ideas?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/b/26b2c7869d7173f6df2e2e8c6a6a0f49ec791e45.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 8, 2026, 1:18pm UTC](https://forums.unrealengine.com/t/line-trace-is-offset-from-starting-point/2727153/2 "2026-06-08T13:18:47Z")

</div>

Has the sprite moved within the blueprint? Is it still at 0,0,0? ( I never use sprites, so that might make no sense ).

Print your actor location, is it where you think it is?

Etc…

---

<div class="post-metadata">

**Author:** ![gia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gia](https://forums.unrealengine.com/u/gia)\
**Post date:** [June 8, 2026, 2:17pm UTC](https://forums.unrealengine.com/t/line-trace-is-offset-from-starting-point/2727153/3 "2026-06-08T14:17:52Z")

</div>

Good idea, the actor prints where it stands visibly.

The sprite is offset 2, 0, 6 from the actor origin, but that only centers the visible image within the capsule component.

On the blueprint viewport the only odd thing is that I have an ArrowComponent (light blue) but it doesn’t show on the viewport and has no options, I click Add and there are only Arrow now not ArrowComponent (red, with options), the trace could be starting from the ending point of that arrow but I dont know why would that be happening. Hmm I cant delete it, it comes with the base Paper Character

So I create another blueprint based on paper character and it has the arrow as ArrowComponent visible although without options, copied the trace to onTick, same offset

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/0/a20887a7a059c7fa200bca87dfd828f03c880797.png)

So I draw a trace from a hardcoded 0,1, -121, it draws it at roughly 56-58, 1?, -121 so 58 x offset maybe 56, it definitely doesnt reach 64 and goes past 48

Gonna have to create the project from scratch it seems, seems to work on a new project

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 8, 2026, 5:01pm UTC](https://forums.unrealengine.com/t/line-trace-is-offset-from-starting-point/2727153/4 "2026-06-08T17:01:20Z")

</div>

When you move the sprite, are you moving the actor, or the sprite within the actor? Just wild guesses… 🤣

---

<div class="post-metadata">

**Author:** ![gia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gia](https://forums.unrealengine.com/u/gia)\
**Post date:** [June 8, 2026, 5:11pm UTC](https://forums.unrealengine.com/t/line-trace-is-offset-from-starting-point/2727153/5 "2026-06-08T17:11:32Z")

</div>

The actor, its a PaperCharacter with all its modules (character movement, capsule component, etc)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 8, 2026, 5:14pm UTC](https://forums.unrealengine.com/t/line-trace-is-offset-from-starting-point/2727153/6 "2026-06-08T17:14:07Z")

</div>

Well, if you can’t get it working, just make a small empty project with this in, and I’ll take a look 😃

---

<div class="post-metadata">

**Author:** ![gia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gia](https://forums.unrealengine.com/u/gia)\
**Post date:** [June 8, 2026, 5:44pm UTC](https://forums.unrealengine.com/t/line-trace-is-offset-from-starting-point/2727153/7 "2026-06-08T17:44:55Z")

</div>

deleted everything from my bugged project, it fixed itself!, now I have to wonder which bp is the culprit

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/c/7ac673c136b29f2e1110b8671981a0299902b897.jpeg)

actually, maybe its offset from a different agle, shame cant move around because i deleted the player, no its fully centered

Ok its my custom camera, changing it for a standard camera fixes things, it worked in 5.1 so I guess something was changed about ticks? and I have the camera offset during the moment the trace paints, then I offset the camera and this is the result??
