phetsims / build-a-molecule

"Build a Molecule" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
8 stars 7 forks source link

Atoms Can Enter Areas They Aren't Supposed To When Spread Out #143

Closed JRomero0613 closed 4 years ago

JRomero0613 commented 4 years ago

For the latest build of Build-a-Molecule (dev 40) atoms that are spread out can be moved to an area where they would normally not be allowed (i.e. part of the atom is in the bucket area). To replicate this behavior build a vertical molecule right above the bucket area or a horizontal molecule right next to the collection area. Spread the molecule using the spread button or by cutting it. The molecule will become spread out and the atom closer to the area will be slightly in the area. Normally if you place an atom in the same spot that the atoms are moved to it will not allow it to stay there (i.e. if any part of the atom is on the bucket area the atom will be returned to the bucket). I have attached a screenshot that illustrates the behavior on both the bucket area and the collection area. Screen Shot 2020-01-16 at 3 31 03 PM

Denz1994 commented 4 years ago

I believe this is related to #120, but has been fixed due to changing the playAreaBounds. Can you test @JRomero0613 if this has been fixed in this dev version?

Edit: Can you use the latest dev version here?

loganbraywork commented 4 years ago

Appears to be fixed

Denz1994 commented 4 years ago

Thanks, closing this one.