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

Rewrite create_wireframe_cube #98

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

Lry722
Copy link

@Lry722 Lry722 commented Oct 6, 2023

Rewrite create_wireframe_cube to create_wireframe_mesh
Now it will be based on model's collision_aabbs create wireframe.
In this way, models that are not cubes can be perfectly framed (such as stairs).

@Zylann
Copy link
Owner

Zylann commented Oct 6, 2023

Note that it creates undesired lines at the boundaries:
image

@Lry722
Copy link
Author

Lry722 commented Oct 7, 2023

Note that it creates undesired lines at the boundaries: image

That's true, but it doesn't look bad anyway. I originally tried to implement it with a shader but failed.

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

Successfully merging this pull request may close these issues.

2 participants