Line trace is offset from starting point

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

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

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…

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

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

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

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

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

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

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??