Regarding the problem of setting actor location based on mouse location

hello everyone, I have a problem. I use get mouse location as the location of my new actor, because I want the z-axis to rise by 500 units, but when I manually z-axis, I found that it will deviate from my mouse by a certain distance in the game.


Try drawing a debug line between the hit point and your mesh. I think you’ll find it’s ok, it just looks like it isn’t

line

tThanks for the reply, because I am making a topdown flight shooting game, so I think that when I look down, even if my z-axis has a custom height, the plane will follow my mouse movement correctly, and I am still trying other possible method

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.