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

GetMesh returns inverted triangles #44

Closed
meetric1 opened this issue Aug 31, 2022 · 2 comments · Fixed by #57
Closed

GetMesh returns inverted triangles #44

meetric1 opened this issue Aug 31, 2022 · 2 comments · Fixed by #57
Milestone

Comments

@meetric1
Copy link

meetric1 commented Aug 31, 2022

image
Picture of a basic sent with a imesh object generated with physobj:GetMesh^

(This is not really a high priority fix, but is something I noticed and may cause problems with some gmod addons)

@Joshua-Ashton
Copy link
Owner

Thanks! Do you have an add-on or lua_run or whatever that can reproduce?

@meetric1
Copy link
Author

meetric1 commented Sep 1, 2022

sure, unzip the attached file & throw it in the addons folder (*/common/GarrysMod/garrysmod/addons)

spawn the object in Entities->Other->getmesh_test

feel free to mess with the code
invert_tris.zip

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 a pull request may close this issue.

2 participants