Character slows down when rotating the camera

because i want to be able to aim for example at some enemy that is on top of a wall or stairs, currently the linetrace just stops at the side of the mesh

cant see how +90z changes anything

cant see how +90z changes anything

Trace as before but offset the result to be above ground (half player size):

Hide cursor, draw crosshair where the blue point is, see if you like the feel. It may be horrible.

I’ll try to post some other options as soon as I find the time. It may not be today, though.

1 Like

thx mate, it is similar but the mouse should be at the location of the light blue square and not on the ground

Hence the need for a virtual plane we trace against, experiment with it.

i will try

Try this for a quick & dirty thing:

But it will need a couple more steps to account for all surface angles.

thanks, it only needs to work on like hills and maybe a small trench / barricade

sadly still no idea how to rotate the upper body, tried a few methods but it only works in 90 degree directions.

You’re looking for aim offset:

https://www.youtube.com/results?search_query=ue4+aim+offset

Docs:

1 Like

I know, i have an offset, but still points to the right of my mouse because i have no clue how to calculate the offset to the left

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