Quote: "You make a hidden DBP object at the same position as the Dark Physics object and
point that at the player, and then rotate the Dark Physics object the same angles
like this"
I had thought of that, but really didnt want to go that route because itd be essentially doubling the number of objects in my game, which is a jump in processing time I dont need.
I ended up figuring it out with a ton of googling and research and brute force "try this, see if it works, if not then change something, try again, repeat" kind of approach.
In the end, what I settled on was
X1 = Object position x(1)
Z1 = Object position Z(1)
X2 = Object position x(2)
Z2 = Object position Z(2)
angle = ATANFULL((X1 - X2),(Z1 -Z2))
Yrotate object 1,Angle
Looks so simple when you see it like that but this level of math is NOT my strong suit, so it took me a very long time to figure out, and even now I dont truly understand it. I know that using ATANFULL this way will get me an angle, but I dont know how or why. its like knowing that your TV will display images and sounds for you, but having no clue how it does it. I know that ATAN is short for arc Tangent, but I have no clue what a tangent or an arc tangent are or what they do. I know theyre math terms, but beyond that I have no idea.