Skip to content

Add placeholder mesh for item with no visible mesh #1462

Merged
chreden merged 1 commit intomasterfrom
issue/1203-2
Aug 23, 2025
Merged

Add placeholder mesh for item with no visible mesh #1462
chreden merged 1 commit intomasterfrom
issue/1203-2

Conversation

@chreden
Copy link
Owner

@chreden chreden commented Aug 23, 2025

Add a placeholder mesh that will show in some cases where the item is invisible.
This doesn't cover all cases, just a few more common ones.
In future might want to have transparency toggleable on meshes so full invisible meshes can become visible.
Closes #1203

Add a placeholder mesh that will show in some cases where the item is invisible.
This doesn't cover all cases, just a few more common ones.
In future might want to have transparency toggleable on meshes so full invisible meshes can become visible.
Closes #1203
@chreden chreden added this to the Next milestone Aug 23, 2025
@chreden chreden requested review from lahm86 and makotocchi August 23, 2025 19:18
@chreden chreden self-assigned this Aug 23, 2025
@chreden chreden enabled auto-merge (squash) August 23, 2025 19:19
Copy link
Collaborator

@lahm86 lahm86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

I get a crash in debug when hovering over it however:

image

@chreden
Copy link
Owner Author

chreden commented Aug 23, 2025

Looks great.

I get a crash in debug when hovering over it however:

image

Yes I noticed this too, the direction vector for the pick isn't normalised - it should be. However normalising it seems to break how picking works currently, you get weird pick orders. Going to fix it separately and figure out what's going on.

That's a debug assertion so only gets checked in debug, if you press ignore it will continue but it's not very convenient because it will just check again next frame.

@chreden chreden merged commit 90bd9aa into master Aug 23, 2025
1 check passed
@chreden chreden deleted the issue/1203-2 branch August 23, 2025 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add some placeholder model for meshless entities

2 participants