Simple trace/Ent.Create

I restarted some lua coding and I’m already in trouble, I tried looking at wiki but ents.Create doesn’t have much documentation on how to create a physics ent.

So can anyone help me with a script that spawns lets say a


in front of me.

You need to spawn a prop_physics and then set its model.

[lua]local ent = ents.Create(“prop_physics”)
– Set position etc