Capsule 3D Shape Component & Immediate Mode API

Avatar
  • updated
  • Not applicable

Hello,

First of all, lovely asset, thank you very much for making it! <3

I just thought that it'd be really nice if we were to be able to draw capsule shape via a component and immediate mode API.

It'd be really helpful, especially when debugging/developing CharacterController based component and movement systems.

I hope you'd consider this (if not, at least give us a few hints how can we achieve it on our own).

Thank you.

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
ergin yanar
Quote from Freya Holmér

you can use polylines for that yeah. or arcs if you're okay with them not billboarding/being flat 

Alright, fantastic! Thank you again, I'm enjoying it a lot already.

Please have a nice day :)

Avatar
Freya Holmér creator

you can use polylines for that yeah. or arcs if you're okay with them not billboarding/being flat 

Avatar
ergin yanar
Quote from Freya Holmér

you can already do this with lines! set the geometry to Volumetric3D and you have a capsule :)

Oh, I didn't think about that :O

So another one (I promise this is the last one), that's a full capsule but to get green capsule collider like lines, should I use Polyline with multiple points to draw ellipses, what do you think?

Image 658

Avatar
Freya Holmér creator
  • Not applicable

you can already do this with lines! set the geometry to Volumetric3D and you have a capsule :)