forked from mtcontrib/weather_pack
add collision_removal for particles spawners
This commit is contained in:
parent
8fa399d2ca
commit
ea242fb8c3
@ -41,6 +41,7 @@ rain.add_rain_particles = function(player, dtime)
|
|||||||
expirationtime = 0.2,
|
expirationtime = 0.2,
|
||||||
size = math.random(0.5, 3),
|
size = math.random(0.5, 3),
|
||||||
collisiondetection = true,
|
collisiondetection = true,
|
||||||
|
collision_removal = true,
|
||||||
vertical = true,
|
vertical = true,
|
||||||
texture = rain.get_texture(),
|
texture = rain.get_texture(),
|
||||||
playername = player:get_player_name()
|
playername = player:get_player_name()
|
||||||
|
@ -17,6 +17,7 @@ snow.add_rain_particles = function(player, dtime)
|
|||||||
expirationtime = 0.6,
|
expirationtime = 0.6,
|
||||||
size = math.random(0.5, 1),
|
size = math.random(0.5, 1),
|
||||||
collisiondetection = true,
|
collisiondetection = true,
|
||||||
|
collision_removal = true,
|
||||||
vertical = true,
|
vertical = true,
|
||||||
texture = snow.get_texture(),
|
texture = snow.get_texture(),
|
||||||
playername = player:get_player_name()
|
playername = player:get_player_name()
|
||||||
|
Loading…
Reference in New Issue
Block a user