Skip to content

Instantly share code, notes, and snippets.

@bas080
Created June 4, 2014 20:11
Show Gist options
  • Save bas080/1f6086252e73e4969a57 to your computer and use it in GitHub Desktop.
Save bas080/1f6086252e73e4969a57 to your computer and use it in GitHub Desktop.
minetest particle spawner (spawns but does not move)
100 minetest.add_particle({
101 pos = {x=pos.x, y=pos.y+1, z=pos.z},
102 velocity = {x=10 ,y=2,z=5},
103 acceleration = {x=10,y=-0.5,z=0},
104 expirationtime = 2,
105 size = 1,
106 collisiondetection = true,
107 texture = 'bees_wax.png',
108 })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment