Breaks in Polyline

Avatar
  • updated

Hello! Polylines were working great for me when they were billboarded, but I'm trying to use them in flat2d mode and I'm getting weird breaks in the line.

It's one Polyline object with a series of points, so I'm trying to figure out why there are gaps in it. The gameobject is rotated to make it flat on the XZ plane instead of XY, but the rotation doesn't seem to matter.

Reporting a bug? please specify Unity version:
2020.1.12f1
Reporting a bug? please specify Shapes version:
4.1.0
Reporting a bug? please specify Render Pipeline:
Built-in render pipeline
Avatar
Freya Holmér

duplicate of https://shapes.userecho.com/en/communities/1/topics/149-add-a-new-multipolyline-component-shape

this is currently in the works for the 5.0.0 update!

Avatar
Brian Agalsoff
Quote from Freya Holmér

duplicate of https://shapes.userecho.com/en/communities/1/topics/149-add-a-new-multipolyline-component-shape

this is currently in the works for the 5.0.0 update!

Hey Freya, I think I submitted before I had a chance to add any details. I'm impressed with your response time!

Avatar
Freya Holmér

ah! now with more context - I think this is a bug caused when points are too close (or equal) to each other

try changing the joins to simple instead of round, and it should work out, or remove duplicate points/points too close to each other.

Avatar
Brian Agalsoff

Removing the points that were too close to each other did the trick! Thanks.