Hi all, I'm trying to detect movement direction relative to where the player is facing but I'm not sure what I'm looking at in the getTransform function. The first three are coordinates, followed by three numbers which I don't know, and the last I'm guessing is the angle of where you're looking? I need to understand what the "0 0 1" is because sometimes it changes to "0 0 -1" and I have no idea.
After I find the angle the plan is to do two checks of position relative to the direction they're facing to determine what movement keys the player is holding down. I'm hopefully gonna make a cool melee combat system using this