View Issue Details

IDProjectCategoryLast Update
0021793AI War 2GUIOct 14, 2019 8:19 pm
ReporterSmaug Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.900 Custom Fleets With Empty Slots 
Fixed in Version0.950 First Press Build 
Summary0021793: Trouble selecting planet on galaxy camera with a fleet selected
DescriptionWith a fleet selected, the selected place flashes between the wormhole link to a planet and the planet (when hovering over a planet). It seems to happen most of the time when on the edge of the planet icon, but for others it happens anywhere over the icon.

video of the glitch: https://youtu.be/rjm1uFPbA9o
TagsNo tags attached.

Activities

Chris_McElligottPark

Oct 14, 2019 8:19 pm

administrator   ~0053683

Thank you!

* Fixed an issue with the planet links where their collision capsules were intersecting with the collision boxes of planets and ship icons on the galaxy map.
** This was having the effect of making it so that quite often you couldn't select specific ships except at certain zoom levels, or couldn't click planets or ships reliably in general (zoom level and scale of icons did play a role here also).
** Basically, the solution was to make it so that we first raycast to find ONLY the planets and ships/fleets, if there are any under the mouse cursor. These use one set of physx layers.
** Only if we don't find anything with that first raycast do we then do a second raycast against the new physx layer that the links now use. Now it doesn't matter if the capsules for the links overlap with planets or ship icons (no way to stop that, really), because it will ALWAYS give preference to the other icons first, and only go for the links between planets if the icons fail.

Issue History

Date Modified Username Field Change
Oct 12, 2019 5:36 pm Smaug New Issue
Oct 14, 2019 8:19 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Oct 14, 2019 8:19 pm Chris_McElligottPark Status new => resolved
Oct 14, 2019 8:19 pm Chris_McElligottPark Resolution open => fixed
Oct 14, 2019 8:19 pm Chris_McElligottPark Fixed in Version => 0.950 First Press Build
Oct 14, 2019 8:19 pm Chris_McElligottPark Note Added: 0053683