mirror of
https://github.com/wassname/phaser.git
synced 2026-08-18 12:20:33 +08:00
Removed Time delta cap, removed drag references from Emitter and tested doing a custom polygon collision.
This commit is contained in:
@@ -322,12 +322,12 @@ Phaser.Particles.Arcade.Emitter.prototype.makeParticles = function (keys, frames
|
||||
|
||||
if (collide > 0)
|
||||
{
|
||||
particle.body.allowCollision.any = true;
|
||||
particle.body.allowCollision.none = false;
|
||||
particle.body.checkCollision.any = true;
|
||||
particle.body.checkCollision.none = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
particle.body.allowCollision.none = true;
|
||||
particle.body.checkCollision.none = true;
|
||||
}
|
||||
|
||||
particle.body.collideWorldBounds = collideWorldBounds;
|
||||
|
||||
Reference in New Issue
Block a user