Detecting Left/Right Side Collision Problem

Jinkuu
Thu, 30 May 2019 07:11:10 +0000
Blueprint

I have a capsule trace on my character that gets the right vector of its capsule component along with the hit location and returns the inverse sin of the dot product of the two vectors, I then have a bool that will check if its less than 0 or greater than 0.

The problem is some surfaces will result in 0 degrees and won’t allow for the bools to be triggered how do I go about detecting the sides on these surfaces?

5 posts - 1 participant