Title: Single select raycast method is incorrect · Issue #2 · lexonegit/Unity-RTS-Selection · GitHub
Open Graph Title: Single select raycast method is incorrect · Issue #2 · lexonegit/Unity-RTS-Selection
X Title: Single select raycast method is incorrect · Issue #2 · lexonegit/Unity-RTS-Selection
Description: Currently the single selecting uses Physics.RaycastAll and then picks the first valid hit. This doesn't work reliably because the order is random. From Unity docs: "RaycastHit[] An array of RaycastHit objects. Note that the order of the ...
Open Graph Description: Currently the single selecting uses Physics.RaycastAll and then picks the first valid hit. This doesn't work reliably because the order is random. From Unity docs: "RaycastHit[] An array of Raycast...
X Description: Currently the single selecting uses Physics.RaycastAll and then picks the first valid hit. This doesn't work reliably because the order is random. From Unity docs: "RaycastHit[] An array o...
Opengraph URL: https://github.com/lexonegit/Unity-RTS-Selection/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Single select raycast method is incorrect","articleBody":"Currently the single selecting uses Physics.RaycastAll and then picks the first valid hit. This doesn't work reliably because the order is random.\r\n\r\nFrom Unity docs: \"RaycastHit[] An array of RaycastHit objects. Note that the order of the results is undefined.\"\r\nhttps://docs.unity3d.com/ScriptReference/Physics.RaycastAll.html","author":{"url":"https://github.com/lexonegit","@type":"Person","name":"lexonegit"},"datePublished":"2022-09-29T08:48:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/Unity-RTS-Selection/issues/2"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:28a8dc5d-0121-7200-a4d2-c91062173e3b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C49C:71B10:E1B929:1367651:6A4DD031 |
| html-safe-nonce | 007cf37a0c5903f5e173e2e2c10748eea2d0f6e09bf69e8903e0dbc28a51ef8e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDlDOjcxQjEwOkUxQjkyOToxMzY3NjUxOjZBNEREMDMxIiwidmlzaXRvcl9pZCI6IjIxNTIyODg3NjA0MTAwMDE0NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 13b0923bac060a1a5994eb2f5c4b7fc910379919303108c2e791f339012b5e9a |
| hovercard-subject-tag | issue:1390496821 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/lexonegit/Unity-RTS-Selection/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/34a9ae1d08158aba8fa1c41b15e5ece9eee732174b3207966bbf50ac6358dec7/lexonegit/Unity-RTS-Selection/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/34a9ae1d08158aba8fa1c41b15e5ece9eee732174b3207966bbf50ac6358dec7/lexonegit/Unity-RTS-Selection/issues/2 |
| og:image:alt | Currently the single selecting uses Physics.RaycastAll and then picks the first valid hit. This doesn't work reliably because the order is random. From Unity docs: "RaycastHit[] An array of Raycast... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lexonegit |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/lexonegit/Unity-RTS-Selection git https://github.com/lexonegit/Unity-RTS-Selection.git |
| octolytics-dimension-user_id | 18125997 |
| octolytics-dimension-user_login | lexonegit |
| octolytics-dimension-repository_id | 527982597 |
| octolytics-dimension-repository_nwo | lexonegit/Unity-RTS-Selection |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 527982597 |
| octolytics-dimension-repository_network_root_nwo | lexonegit/Unity-RTS-Selection |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width