My trace line appeared at the wrong place

图片
From the image, it seems that the starting point is not the center of the pawn.
When I selected the only one pawn, it went like this.
图片
It’s strange, the three axis appear to the right of the pawn.
I tried to restart my unreal engine and recompile, but it didn’t work.
This is my code. Completely the same as the instructor’s.


Unreal Engine 4.16.1, VS2017.
Can someone help me?

OK.
It turned out that there was no problems.
Because when I finished lesson 80, I found everything worked perfectly when the pawn is possessed.
Though it still looks the same as pictures above(different from what I saw in the video) when it’s ejected.
Well, I can move on, that’s good.

This is actually a simple fix. I am betting you followed his example and moved your pawn_bp around to prove it did not affect the original pawn. You simply moved it away from the actual coordinates it belongs in. All you have to do is click on the the pawn_bp ( or whatever you called the player blue print ) and go to the edit screen. From there click on viewport and then you will see your blue print pawn and a wireframe of the original. You can tell it’s the original because of the shape… unless you left yours round. In the latter case you will just need to take my word for it. Now move blue print version to meet the wireframe version. click save and then start a new game and eject. You will see that you now meet up with your other assets perfectly.

Privacy & Terms