corona_wind Posted April 4, 2019 Posted April 4, 2019 It only happens on the left. Mirror the engine and it only happens on the right.
Hex7 Posted April 4, 2019 Posted April 4, 2019 It should be noted that drone isn't mirror symmetric (the lower engine is slightly further left). The true issue seems to be that the drone core is more of a circle than a proper octagon. That might be intentional. I'm not sure. 1
ArnoJ Posted April 4, 2019 Posted April 4, 2019 2 hours ago, Hex7 said: It should be noted that drone isn't mirror symmetric (the lower engine is slightly further left). The true issue seems to be that the drone core is more of a circle than a proper octagon. That might be intentional. I'm not sure. That's correct, the behaviour you see is because the drone isn't symmetrical and the drone core has a circle as a collider. Can fully understand the confusion though, especially since the sprite of the afterburner specifically is currently a little smaller than its collider, something that will likely be fixed in a future update ^^
corona_wind Posted April 5, 2019 Author Posted April 5, 2019 22 hours ago, Hex7 said: It should be noted that drone isn't mirror symmetric (the lower engine is slightly further left). That's the point, yes, but if the core was a circle as you say, I'd expect the opposite to happen - the one closest to the center would block and the one farther out would not. So I'm still not sure what's happening here.
Ookami-sama Posted April 5, 2019 Posted April 5, 2019 Can you see it better with an outline? This pink circle's cardinal directions are as close as possible to the core's borders, up to the farthest row of black/grey pixels on the picture, which I assume are closest to the actual borders. The upper thruster's frame is just out of the circle (one pixel of distance on the picture), but the lower thruster is going over it by a smidgen. With all due disclaimers about imprecision, and so on, and so forth.
Micha Posted April 5, 2019 Posted April 5, 2019 Maybe we should add a feature to see the exact colliders. 1
corona_wind Posted April 5, 2019 Author Posted April 5, 2019 5 hours ago, Ookami-sama said: Can you see it better with an outline? Ignore the firey end of the engines. That corner is quite carefully placed the same distance from the center. Measuring in GIMP, there's exactly one pixel of difference between them, and I see where it comes from - the drone core is 191 pixels wide at maximum zoom. That doesn't divide evenly, causing it to project one pixel further on the left side of the grid than the right. There's a vertical difference too, but I'm less sure why, since the core's only 190 pixels tall.
Markus Posted April 8, 2019 Posted April 8, 2019 Here's a screenshot from the colliders. They don't match the visuals for the afterburner. So either we adjust the sprite to match the visuals, or match the colliders to match the sprite I think we should let it have the exact same size of the normal thruster, then it's easiest to use them together. If the afterburner collider is smaller it might behave non-intuitively and makes building harder.
corona_wind Posted April 8, 2019 Author Posted April 8, 2019 That is just weird. BOTH engines are plainly intruding on the collider, but only one collides! 1
Markus Posted April 9, 2019 Posted April 9, 2019 20 hours ago, corona_wind said: That is just weird. BOTH engines are plainly intruding on the collider, but only one collides! Unity Physics 😓 So even if we show the "real" colliders like Micha said, it wouldn't even be a help, because in edge cases Unity is completely useless We have to check how it behaves if we slightly adjust the collider and then fix the sprite so it matches the collider more accurate.
Garheardt the Black Posted April 12, 2019 Posted April 12, 2019 Has anyone pointed out that the bottom thruster in the photo is farther back on the drone than the top one? I'm having trouble seeing how this is a case of asymmetry. 1
Markus Posted April 12, 2019 Posted April 12, 2019 The thing corona_wind wanted to point out was, that with this shown drone, the upper afterburner is not overlapping, and the lower afterburner shows overlapping. So it's not about asymmetry of the whole drone, but that the collider of the drone brain might not be perfectly aligned, as both afterburners visually don't seem to overlap, but one is highlighted red anyhow. In the end it seems that this is just an edge-case in which unity-physics is not 100% accurate with its colliders.
Garheardt the Black Posted April 14, 2019 Posted April 14, 2019 Gotcha, we're talking about whether the core is made up of rounded edges versus straight ones, rather than symmetry. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now