Disable Phys-gun Setting.

One thing I’ve despised about Garry’s Mod is the in-ability to do poses in vehicles efficiently without direct edit in(s) or having to wrestle with a ragdoll ,and the prop.

My suggestion? For sake of sanity why not just make a system which allows the disable of a prop(s) physical properties / colliding / phys gun accessibility?
Then it game to me in a rush… A tool gun which allows the player too disable all of that stuff ,but can later bring make all accessibility after the player is done with whatever their doing.

Basically a parent this would incredibly benefit player in making ragdoll poses which are more realistic ,and it also will allow easier building abilities for players.

If anyone can make this… I thank you in advance.

Its prety easy to make it no physgun-able, but i cant get it re-physgun-able, anyway
put this in garrysmod/lua/autorun/server
[lua]function SetNoPhysGunAble(ply)
local trace = ply:GetEyeTrace()
concommand.Add(“SetNoPhysGunAble”, SetNoPhysGunAble)[/lua]
then bind a key to SetNoPhysGunAble in your console
like: bind g “SetNoPhysGunAble”
if I find how make it re-physgun-able i’ll make a tool for it.


Found it!

Thanks Amigo :smiley:

your stool, http://www.garrysmod.org/img/?t=dll&id=98996
i’ll update it soon

Yay <3


Hey dude I just noticed something… When you weld the item to the world earlier on ,and add the No Phys ability it will break the collisions with the world. You should make it so it ignores the world/world props.

Can you also make it so it ignores the welded/constraints of the entity?

i don’t know if i fixed your issues, but there is the updated version:http://www.garrysmod.org/img/?t=dll&id=99029