HELP! Sphere Trace Returns Bizarre Impact Normal

Greetings!

Today with something that may be a bug, maybe not. But either way, a normal line trace will properly return the impact normal as expected and demonstrated in the photo below:



But when I run a sphere trace. Mind that it is not a multitrace (which also returns the same results). As you can see, it almost uses a look-at rotation to determine the impact normal. Rather than an actual surface normal as not expected but demonstrated in the photo below.



Alternative solutions to the issue are appreciated, in case of a needed context, this is for a custom camera system. All blueprints used are in fact consistent between the use of line trace and sphere trace. Which means that the error is not to do with the code.

It does not appear to return not the surface normal but returns a normal perpendicular to the inner sphere that is closest to the impact point.

Cheers! :slight_smile:

That looks suspiciously like the Normal that would be returned in a sphere trace (from impact point through centre of sphere).

Are you sure you are using Impact Normal?

100%

Yup, should be good.

I can’t replicate with a quick test, and am always getting the surface normal.

A long shot perhaps, but I notice you have Trace Complex checked, are the normals for your models all good?

You seem to be correct. This is odd as I am using the default primitive shapes and the normals appear correct. I’m not going to mark this as a solution quite yet as I can’t be certain if this is luck of the draw or if it’s a fix all solution. I’ll keep you posted. :slight_smile:

I really did think it was a long shot, and being default shapes I think it must be wrong.

I can only agree with the ‘Bizarre’ in the topic title!

Yes, please do report back with any new findings :slight_smile:

Greetings @silnarm!
So I am yet to find an issue with this after extensive testing. For now I will mark you post as a solution. Are you alright though if I personally message you for assistance if this issue returns as though you are evidentially knowledgeable on the subject?

Cheers! :slightly_smiling_face:

Lol, not all that knowledgeable, no. But curious and very willing to tinker, so by all means message if you have more weirdness, I’ll try to help :slight_smile:

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