Skip to content

Commit

Permalink
Make particles collidable
Browse files Browse the repository at this point in the history
  • Loading branch information
phisn committed Mar 30, 2024
1 parent 5bc3428 commit cbc2621
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/rust-game/src/particle_plugin/particle_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub use particle_template::*;

use super::{
instancing_plugin::{InstancingChild, InstancingHost},
particle::Particle,
particle::{Particle, ParticleCollidable},
};

#[derive(Event, Debug)]
Expand Down Expand Up @@ -186,6 +186,7 @@ pub fn particle_system_spawner(
source_position.y + offset.y,
0.5,
))),
ParticleCollidable,
));
});
}
Expand Down

0 comments on commit cbc2621

Please sign in to comment.