Raycasting/Looking At function #2321
Unanswered
squigglezworth
asked this question in
Q&A
Replies: 1 comment
-
|
its range is based on player base reach, i could make a update so it copies the players reach attribute |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there. Is there a good CC:T script for figuring out what block a user is looking at, preferably one that takes into account block hitboxes? I know I can do so with Minecraft commands (which blows my mind!) but was hoping to do so in CC:T.
I was able to copy the raycasting from https://github.com/moomoomoo309/WorldEdit-CC/blob/master/WorldEdit.lua but it's very basic and doesn't work for non-full blocks.
I also found the CC Link mod which adds a native raycast function, but its range is extremely limited and it requires Link's hardware.
Thanks for any help! o7
Beta Was this translation helpful? Give feedback.
All reactions