Just so all the variables are on the table, I’m attempting this in the Third Person Example Project, in case it matters.
– Whenever I spawn a projectile and activate the projectile component on it. if it crosses a certain threshold along the Z (Yaw) Axis, it decides to mirror it on the previous side. This threshold exists between -90 and 90 degrees.
Say I wanted to spawn a Projectile at 150°, the actual projectile will spawn with a rotation of 30°.
It matters what rotation I spawn the actor with when calling the SpawnActor node. But if i go inside the Projectile’s BP and on construct set a separate rotation, or even on tick set a rotation of 0, it will still shoot in the same wrong direction. Which is weird because the velocity is along the actor’s relative X-axis. Meaning that if the relative X-axis changes, then the direction that the initial velocity uses should change with the rotation, yet it decides not to.
(This still happens if I turn off Auto Activate in the projectile movement component, then in the construction script change the rotation, and then activate it afterwards.)
As per near the end of the video, the projectiles decide to mirror the rotation along that threshold.
I’ve dealt with problems pertaining to Yaw-skips? like this before but I can’t find any solid documentation about my problem. Any help would be greatly appreciated.