Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug found with rayPlaneIntersection() #3247

Open
Leftef opened this issue Jan 18, 2025 · 0 comments
Open

Possible bug found with rayPlaneIntersection() #3247

Leftef opened this issue Jan 18, 2025 · 0 comments
Labels

Comments

@Leftef
Copy link

Leftef commented Jan 18, 2025

I was trying to get the intersection to work but was always recieving nothing and/or an error, I then found the core function (https://github.com/wiremod/wire-extras/blob/master/lua/entities/gmod_wire_expression2/core/custom/tracesystem.lua) and took the function rayPlaneIntersection() and converted it to E2 language and I started getting correct results, anyone know why?
My Code:
Ev4

You can see it outputs nothing here:
Ev1

but when printed it is able to output a value:
Ev2

but when I change the hologram to take the position of the default code I get this strange error (I have tried adding conditional checks to make sure its not nil):
Ev3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants