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

Failed to collect intersections | attempt to index local 'to3' (a nil value) #2

Open
Slluxx opened this issue Aug 6, 2023 · 0 comments

Comments

@Slluxx
Copy link

Slluxx commented Aug 6, 2023

After some time working on a layout, the tool doesnt allow me to edit an intersection anymore and just yeets me into the simulation tab.

Looks like the intersection "works" but i just cant access the edit menu.
image

image

This piece of code seems to be the issue:

    -- FlatPolyShape.lua
    while not p1:closerToThan(self.aabb.center, 400) do
      print("2nd while: " .. i)
      i = i + 40
      if i > size then break end
      p1 = lanePoints[i - 1]
    end

Specifically the +40, which is outside of the length of lanePoints

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

No branches or pull requests

1 participant