Props are fucked up.

I made it so when you spawn a prop and move it around, it freezed automatically when you drop it. I figured it would be easier for builder, however, I’ve encountered some problems.

  1. The props move underground when you physgun them, almost like they have no definite shape when being moved.
  2. They always leave behind some sort of invisible prop, it’s strange, if I move around a fence, I will run into invisible props when moving around and it will make the sound of hitting a fence.
  3. Players always somehow get glitched into them and get stuck.

Now I’m not sure if it’s the way I’m creating them or if it’s the way I’m freezing them, but I need some help.


local ent = ents.Create(“prop_physics”)
//setting pos and other bullshit, removed


function Freeze( ply, ent )

hook.Add(“PhysgunDrop”, “Freeze”, Freeze)

Any help is much appreciated.

Are you setting their collision groups correctly?

I guess not, which collision group should a normal prop be under? Just COLLISION_GROUP_DEBRIS?

My bad, I meant Entity.SetSolid

Well, they’re solid, players and npc’s can’t move through them (although props do nocollide with each other)

I will try it though.