const collectingRadius = - 0.5 + 1.5 * game.settings['difficulty']['collectingradius'];
for(let i = 0; i < game.objects.words.length; i++) {
let word = game.objects.words[i];
- if(!word.collected &&
- game.objects.feather.speed.length() < 10.0 &&
- new THREE.Vector3().subVectors(word.position, game.objects.feather.position).length() < collectingRadius) {
+ if(!word.collected && new THREE.Vector3().subVectors(word.position, game.objects.feather.position).length() < collectingRadius) {
word.collected = game.view.clock.getElapsedTime();
game.objects.words.collectedCount += 1;
playRandomSound(game);