ok, as u might have gathered from the title i am trying to create a “phys_constraintsystem” entity. my problem is when i make it it says that its entid = 0. Also when i look to see if its a valid ent it comes back as true. ima kinda confused so hopefully some one can shed some light. This is the first time i have used ents.Create so i am probably missing some dumb ass thing.
my code =
local cs = ents.Create("phys_constraintsystem") cs:Spawn() -- have tried with and with out this cs:Activate() -- have tried with and with out this print(cs:IsValid() ) -- outputs true print(cs:EntIndex() ) -- outputs 0
if that helps
thanks for reading and i hope u can help.