You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Luisav1
changed the title
Can we use ParticleAtom.extractParticleClosestToCenter() instead of BANModel.getParticlesByType
Can we use ParticleAtom.extractParticleClosestToCenter() instead of BANModel.getParticleToReturnAug 30, 2023
Luisav1
changed the title
Can we use ParticleAtom.extractParticleClosestToCenter() instead of BANModel.getParticleToReturn
Can we use ParticleAtom.extractParticleClosestToCenter() instead of BANModel.getParticleToReturnAug 30, 2023
getParticleToReturn returns the particle closest to the particles creator node while extractParticleClosestToCenter gets the particle closest to the center of the atom
extractParticleClosestToCenter also extracts the particle, it removes it from the particle atom which we don't want being done until after the particle is animated away from the particle atom.
Closing.
Promoting TOOD made while investigating #105.
This is a newish function, so it could replace this older code.
The text was updated successfully, but these errors were encountered: