Arkantos posted:
Found a little bug with pushing props. Instead of them flying away, it would slowly pull them towards the laser emitter.
I thought I fixed this :uhoh: Were you using mirrors? And what prop was it if you remember? I can't reproduce this bug.
Nevec posted:
Whenever a laser kills an NPC it kinda creates two ragdolls, one is invisible and gets disintegrated but the other stays as it is.
I looked at your code and it may be because you aren't removing the created ragdoll entity. When you fire the disintegrate entity it creates a separate model to be disintegrated, so you still have to remove the NPC ragdoll entity. It works fine for players, though.
Now I know why I didn't see this bug : I mostly tested in multiplayer, and when I tested in single player, "keep corpses" was disabled. So until you check "Keep corpses", it works well. I'm trying to fix that but I can't find how to get the NPC ragdoll entity from the NPC entity..