#can i raytrace from anywhere? (not just from an entity or player)
9 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
May you elaborate more? What does raytrace mean here exactly?
raycasting
I wanna raycast from a block towards a direction
Is it from another mod, or a feature done with other kubejs scripts?
I made a radar, and I wanted to use raycasting to see if the VS ship it detects is behind any blocks. So I would need to cast a ray from the block position towards the ship.
So the "ray" does not need to be visible by player, just to check if there's obstacle between two position, does it?
I am thinking that maybe you can summon a Marker and make it move along the direction between two points, and check if it get into any block in its way.
https://minecraft.wiki/w/Marker