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

Give DebugOverlay.Sphere the same options as Gizmo.Draw.LineSphere #7309

Open
Retroeer opened this issue Jan 4, 2025 · 2 comments
Open

Give DebugOverlay.Sphere the same options as Gizmo.Draw.LineSphere #7309

Retroeer opened this issue Jan 4, 2025 · 2 comments

Comments

@Retroeer
Copy link

Retroeer commented Jan 4, 2025

What can't you do?

DebugOverlay.Sphere only takes a Sphere, this is different from LineSphere as that takes both a Sphere aswell as a center + radius option.
DebugOverlay.Line has both options from its Gizmo.Draw.Line counterpart

DebugOverlay.Sphere also lacks a "rings" variable

How would you like it to work?

DebugOverlay.Sphere( center, radius, color, duration, rings = 8)

What have you tried?

n/a

Additional context

No response

@aylaylay
Copy link

aylaylay commented Jan 4, 2025

Seems very nitpicky? Sphere has center and radius already

@Retroeer
Copy link
Author

Retroeer commented Jan 4, 2025

Oh it's very nitpicky, but DebugOverlay.Sphere seems to be the odd one out at a glance, line and box both share the same things as the gizmo counterparts, but Sphere doesn't, it's just a little inconsistency really

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

No branches or pull requests

2 participants