Timeline for What is the most efficient way to trigger an action based on proximity?
Current License: CC BY-SA 4.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 13, 2020 at 9:33 | vote | accept | Natalo77 | ||
| Jan 12, 2020 at 14:24 | answer | added | Coldsteel48 | timeline score: 1 | |
| Sep 11, 2019 at 13:45 | history | edited | Pikalek | CC BY-SA 4.0 |
added code markdown
|
| Sep 6, 2019 at 14:43 | vote | accept | Natalo77 | ||
| Jan 13, 2020 at 9:33 | |||||
| Sep 5, 2019 at 12:06 | answer | added | ratchet freak | timeline score: 0 | |
| Sep 5, 2019 at 12:00 | comment | added | DMGregory♦ | Ah, it sounded like you'd tried a box first, then narrowing it with an angle. The thing is that game developers don't necessarily know or care what the "best" way is — we don't typically do proofs of optimality as part of our process. All we know is "solution X was good enough for our needs on game Y". When something isn't"good enough", we profile to identify where the problem is and try to fix that problem. I'd say these checks are unlikely to be what determines your game's performance, so I'd lean toward the simplest way you can try first, then measure to see if there's a problem to solve. | |
| Sep 5, 2019 at 11:57 | comment | added | Natalo77 | @DMGregory Well, I haven't developed a way to do it yet, and I'd rather go about it the best way. Am i ivory towering too soon? | |
| Sep 5, 2019 at 11:51 | comment | added | DMGregory♦ | Have you observed any measurable performance impact from the way you're doing it now? Maybe it's fine as-is, and your time is better spent on other parts of your game. | |
| Sep 5, 2019 at 11:49 | comment | added | Natalo77 | @DMGregory that's exactly what I want. Those are more mathematical to do as well. Please excuse my lack of expertise, I haven't programmed in 3 months. Are there preferred ways to do this in Unreal? | |
| Sep 5, 2019 at 11:33 | comment | added | DMGregory♦ | It sounds like what you really want is a frustum check, not a proximity check or cone check. | |
| Sep 5, 2019 at 11:15 | review | First posts | |||
| Sep 11, 2019 at 13:45 | |||||
| Sep 5, 2019 at 11:12 | history | asked | Natalo77 | CC BY-SA 4.0 |