Closed KatieWoe closed 4 years ago
Happening in other sims with buckets of particles, such as Isotopes and Atomic Mass
@Denz1994 - this behavior was introduced in https://github.com/phetsims/phetcommon/commit/c60cdfc21d5244ea23435f761bfef1b11bbeee3e. I looked through and figured out was was going on, but I think it'd be best if you fixed it. Let me know if you'd like a hand with it.
During refactoring, I removed an argument out of getNearestOpenPosition(position)
. This means the desitnationProperty was not being used when iterating over the openPositions closest to the destinationProperty. A different Vector2 was being used.
The correct destinationProperty.value was reintroduced and this was fixed in BAA and IAM. Closing this one.
Test device Dell Operating System Win 10 Browser Firefox Problem description For https://github.com/phetsims/QA/issues/482 The subatomic particles in the buckets seem to default to a pyramid position to the right of the bucket. If you move particles not in that position they automatically move there, and you can't move them back. In the published sim the particles position in the bucket doesn't matter as long as something is under them. (This is a bit hard to describe. Let me know if you need more info.)
Visuals![defaultpyramid](https://user-images.githubusercontent.com/41024075/75191880-7018fb00-5710-11ea-9258-9c632cd951b1.gif)
Troubleshooting information: