mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 12:17:45 +02:00
smaller damage
This commit is contained in:
parent
897c2b8267
commit
028b816e5b
1 changed files with 2 additions and 2 deletions
|
@ -57,12 +57,12 @@ function shootBullet(position, velocity) {
|
||||||
damping: 0 });
|
damping: 0 });
|
||||||
|
|
||||||
// Play firing sounds
|
// Play firing sounds
|
||||||
audioOptions.position = position;
|
audioOptions.position = position;
|
||||||
Audio.playSound(fireSound, audioOptions);
|
Audio.playSound(fireSound, audioOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
function particleCollisionWithVoxel(particle, voxel) {
|
function particleCollisionWithVoxel(particle, voxel) {
|
||||||
var HOLE_SIZE = 0.25;
|
var HOLE_SIZE = 0.125;
|
||||||
var particleProperties = Particles.getParticleProperties(particle);
|
var particleProperties = Particles.getParticleProperties(particle);
|
||||||
var position = particleProperties.position;
|
var position = particleProperties.position;
|
||||||
Particles.deleteParticle(particle);
|
Particles.deleteParticle(particle);
|
||||||
|
|
Loading…
Reference in a new issue