Timeline for Unity: How can I find the center position of a particular triangle?
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 7, 2021 at 15:47 | vote | accept | Truth | ||
| Jan 7, 2021 at 15:47 | comment | added | Truth | Yes, I do in fact want the centroid. You'll have to forgive my public education; we never covered that. But then, when you say I could just average the vertices, it seems obvious enough that I probably should have thought of it. I was more looking for a property of a mesh, but I wasn't finding it in the docs. | |
| Jan 5, 2021 at 12:00 | history | tweeted | twitter.com/StackGameDev/status/1346426223052926977 | ||
| Jan 1, 2021 at 1:01 | review | Suggested edits | |||
| Jan 1, 2021 at 19:19 | |||||
| Jan 1, 2021 at 0:56 | answer | added | Jon | timeline score: 1 | |
| Dec 31, 2020 at 4:22 | comment | added | DMGregory♦ | Remember that a triangle has at least four different "centers", so we need to be more specific. Do you want the centroid? Presumably you tried simply averaging the vertex positions? Where did you run into trouble expressing this in your code? | |
| Dec 31, 2020 at 2:36 | history | asked | Truth | CC BY-SA 4.0 |