Time Nick Message 14:11 Jordach procedural animations and physics goes brrrrrr 14:11 Jordach https://gfycat.com/fragrantwhitecleanerwrasse 14:23 sfan5 how does that rotation stuff work 14:26 Jordach "magic" 14:26 Jordach and cotangents 14:26 Jordach Lua doesn't come with cotangent algos in math so i'm doing it the old way 18:58 Jordach sfan5, curious bug; add_particle() sometimes doesn't add particles when it should 19:03 Jordach works here: https://github.com/minetest/minetest/commit/1bcdc2d7e9d91f21cd9be2836b777c5088313fa8 19:03 Jordach fails occasionally on https://github.com/minetest/minetest/commit/0a1181f7637adab6fe1ba5d3c09038912a06b37f 19:05 Jordach works fine on 1bcdc2d7e 19:05 Jordach (might be the node flag for particles failing) 19:06 Krock looks amazing, Jordach 19:06 Jordach also i wrote a handy little function that takes two vectors and returns a yaw and pitch value 19:24 sfan5 Jordach: how do you suggest I reproduce that in a reliable way 19:41 Jordach sfan5, i get white particles with the node flags on 1bcdc2d7e 19:42 Jordach this commit can be tested by firing any firearm 19:42 Jordach https://github.com/Jordach/SolarSail/commit/e63334ceafea93b1d8c3520ca35c50db09633bc7 19:42 sfan5 yeah that's a dummy texture 19:42 Jordach it always spawns dummy textures 100% of the time on old clients 19:43 Jordach removing the node flags resumes working particles 19:43 Jordach so the node flags aren faulty 19:43 Jordach -n 19:44 sfan5 unrelated but oh god please use a particlespawner instead of manually spawning multiple particles 19:44 sfan5 thanks, will test 19:45 Jordach *at least it exists as a modular function* 19:56 sfan5 ServerError: AsyncErr: environment_Step: Runtime error from mod 'weapons' in callback environment_Step(): games/SolarSail/mods/weapons/init.lua:799: attempt to compare number with nil 19:56 sfan5 oops? 19:56 Jordach weird 19:56 sfan5 anyway what am I supposed to see when I use a weapon 19:56 sfan5 (I did /giveme weapons:smg_red in case that matters) 19:57 Jordach invalid weapon 19:57 Jordach a recent commit fucked get_spawn_level at mapgen init 19:57 Jordach (it worked before) 20:06 sfan5 when I shoot something in X+ or Z+ direction there are no particles 20:56 sfan5 Jordach: the node is set to CONTENT_AIR 21:07 Jordach for some reason it works on older clients 21:07 Jordach despite the white particles 21:11 sfan5 who knows what an empty texture name does