Volumetric Arc, or Torus Arc?

Avatar
  • updated

Hi! I'm trying to create a directional indicator UI element for an experience on AR headsets. I have the Disc shape working currently, but it being Flat 2D makes it difficult to see at some angles and doesn't fit with the rest of the 3D elements. Is there any way to create something like a 3D arc using a Torus?

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

currently there's not really a way to do that. You can get close with billboarded polylines, but even they might be a little unstable at extreme angles. You could open up a feature request for adding a start/end angle parameter to the torus if it's something you'd like in the future!

Avatar
Justin Pando
Quote from Freya Holmér

currently there's not really a way to do that. You can get close with billboarded polylines, but even they might be a little unstable at extreme angles. You could open up a feature request for adding a start/end angle parameter to the torus if it's something you'd like in the future!

Sounds good, thank you! I would definitely take advantage if it was added.