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

Add a Cylinder tool #17

Open
Calinou opened this issue May 2, 2023 · 1 comment
Open

Add a Cylinder tool #17

Calinou opened this issue May 2, 2023 · 1 comment

Comments

@Calinou
Copy link
Contributor

Calinou commented May 2, 2023

Add a cylinder tool that allows you to specify an angle arc where the cylinder should be drawn, then the depth by clicking a second time. The level of detail per full turn (probably 32 by default) could be adjusted in the toolbar.

It's important that the tool lets you draw cylinders that are not full-circle easily, as it's common to use 90-degree and 180-degree cylinders in level design (or sometimes even unusual values like 45-degree).

Since outward cylinders are convex, they can be created as a single block. Being able to create inward cylinders would be very useful in level design, but these must be drawn as separate blocks. This will likely require a lot of refactoring and may be better implemented separately (e.g. using a prefab system and a default set of prefabs).

@Calinou Calinou changed the title Add a cylinder tool Add a Cylinder tool May 2, 2023
blackears added a commit that referenced this issue May 5, 2023
…ent coding conventions. Creating resource inspector so that tool settings may be adjusted.

#17
@blackears
Copy link
Owner

Created first pass at this. You can create a basic cylinder now. Need more work to add extra features.

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

No branches or pull requests

2 participants