Psi

Psi

45M Downloads

Caster can't be the result of an entity raycast

blaynemm opened this issue ยท 0 comments

commented

Forge version: 36.1.65
Psi version: 1.16-97

Here's a spell that creates a particle trail 10 blocks away from you, pointing into you. An entity raycast follows the same path as the particles. There is a debug targeting the raycast. I would expect the debug to output the same as a selector:caster would. It instead errors.
Allowing entity raycasts to return the caster would allow you to find an in-bound projectile, and that would allow for additional defensive spells.
If the raycast starts inside of you, it would omit you. Else, it could allow it.
Thanks for reading