Psi

Psi

45M Downloads

Mass Exodus Look Vector Position

AinmireIGN opened this issue ยท 1 comments

commented

When you cast Mass Exodus on loopcast using your look vector as the position, it will always go in a single specific direction. Where you are facing does not matter for this, it will always go in that direction (Even though we are basing the position on our look vector). If I am missing something here please let me know, but I have made several spells trying to use the look vector on mass exodus and it simply doesn't work.

Here is a simple version that "should" push items within 16 blocks of you in the direction that you are looking: {spellName:"Mass Exodus Bug?",uuidMost:-4778200568514983097L,validSpell:1b,spellList:[0:{data:{key:"constantNumber",constantValue:"16"},x:2,y:5},1:{data:{params:{_target:4},key:"operatorEntityPosition"},x:3,y:4},2:{data:{params:{_position:1,_radius:3},key:"selectorNearbyItems"},x:3,y:5},3:{data:{params:{_target:1},key:"connector"},x:3,y:6},4:{data:{key:"selectorCaster"},x:4,y:4},5:{data:{params:{_target:1},key:"operatorEntityLook"},x:4,y:5},6:{data:{params:{_speed:4,_target:3,_position:1},key:"trickMassExodus"},x:4,y:6},7:{data:{key:"constantNumber",constantValue:"1"},x:5,y:6}],uuidLeast:-5544145126752261516L}

commented

Your look vector is in the range of [0,1] so when you use it as a postion to go to, your spell is trying to take you to somewhere near (0,0,0).

What you want is to use a raycast of your look vector with your position.