Pointings Operator gizmos shows large obstructing cubes that get bigger with camera alignment on z-axis

Mushrooms Labs Q&ACategory: Curved Poly Shape EditorPointings Operator gizmos shows large obstructing cubes that get bigger with camera alignment on z-axis
Glenn Raskovich asked 3 years ago

When using the Pointings Operator, viewing an object from the front and back shows very large cubes at the interaction points, but viewing it from the sides or top and bottom makes these cubes much smaller.
Put more technically, when the camera is aligned with the z-axis the cubes are the largest but when the camera is aligned with the x-axis or y-axis these cubes disappear. This appears to be in world space as rotating the object does not affect this behavior.
Here’s a video showing the bug: https://www.dropbox.com/s/pw7yh5shwrg56fa/Curved%20Poly%20Bug.mov?dl=0
I’m on a Mac running Unity 2020.2.5f1 with URP 10.3.1, but I also saw this behavior on Unity 2020.1.17f1 with URP 8.3.1.

1 Answers
Alessandro MartinelliAlessandro Martinelli Staff answered 3 years ago

Hi Glenn, thank you very much for this notification. This is something I was not aware of at all.
I’ve tried to replicate the issue (your video was much helpful) and I’ve found it happens under this exact conditions:

  • having the view in ‘Persp‘ mode (rather then ‘iso’)
  • having the Transform of the model with some ‘big’ coordinates. For instance I’ve set the x of the position to ‘100’ and i was able to get the same as your video.

I trust the issue does not depend on the version of Unity or on the platform (I’ve checked this on Windows, on versione 2019.3, 2020.1 and 2020.2)
Just to point it out, I personally edit models more in Iso mode than Perspective mode, because I found it easier. I think this is common among people coming from other modeling editors/softwares, it’s not just me.
That said. For now my suggestion is to switch to iso when you have this issue. (It works, I’ve tested it)
Indeed, in this moment we are committed to the release of a new version (1.3) of Curved Poly, which should happen in a few weeks. And I’m confident we can fix this issue you pointed out within this release.