Look Vector for Projectiles has Reversed Z
nycki93 opened this issue ยท 0 comments
I ran this test program on a projectile spell bullet:
{spellName:"Focal Look Test 1",uuidMost:5991137044598574239L,validSpell:1b,spellList:[0:{data:{params:{_number:4,_target:2},key:"trickDebug"},x:3,y:3},1:{data:{params:{_target:2},key:"operatorEntityAxialLook"},x:3,y:4},2:{data:{key:"selectorFocalPoint"},x:3,y:5},3:{data:{key:"constantNumber",constantValue:"1"},x:4,y:3},4:{data:{key:"constantNumber",constantValue:"0"},x:4,y:5},5:{data:{key:"selectorCaster"},x:5,y:3},6:{data:{params:{_target:1},key:"operatorEntityAxialLook"},x:5,y:4},7:{data:{params:{_number:3,_target:1},key:"trickDebug"},x:5,y:5}],uuidLeast:-8819893526661572031L}
Firing this in various directions, I found that consistently the focal point's Look and my own Look would have opposite X and Y directions, but matching Z's. I suspect this was meant to be opposite X and Z but matching Y, or even all three opposite. As it currently is, this is a weird "north/south" rule to keep track of.