Garry's Mod

Garry's Mod

Physical Parent
 This topic has been pinned, so it's probably important
Catse  [developer] 16 Mar, 2018 @ 11:54am
Bug Reports
Post all the bugs and errors you find here.
Please try to list the steps required to recreate the bug/error, it will make it easier to find and fix them.
Last edited by Catse; 13 Apr, 2018 @ 4:00pm
< >
Showing 1-15 of 39 comments
Steely Johnson 16 Mar, 2018 @ 12:07pm 
No error code, but upon grabbing the parented prop while using physgun build mode server crashes. I could try reproduce it and grab some sort of log if you wish
Schwieger 16 Mar, 2018 @ 8:18pm 
Cannot copy with advanced dupe 2 via direct right-clicking on object. Need to use area copy to copy object otherwise we get an "duplication contains invalid physparents" error.
Steely Johnson 16 Mar, 2018 @ 10:50pm 
Originally posted by Schwieger:
Cannot copy with advanced dupe 2 via direct right-clicking on object. Need to use area copy to copy object otherwise we get an "duplication contains invalid physparents" error.
I think that occurs because since you removed the constraints of it by using the tool in the first place dupe2 cannot find the child of the parent because its not linked via constraint. You have to save with area copy.
Catse  [developer] 17 Mar, 2018 @ 2:05am 
Originally posted by Steely Johnson:
No error code, but upon grabbing the parented prop while using physgun build mode server crashes. I could try reproduce it and grab some sort of log if you wish

This should now be fixed in the latest update.
redcatjack 17 Mar, 2018 @ 2:21am 
CTD when parenting anything to a vehicle (Tested on the Stock HL2 Jeep)
Catse  [developer] 17 Mar, 2018 @ 4:56am 
Originally posted by redcatjack:
CTD when parenting anything to a vehicle (Tested on the Stock HL2 Jeep)

Made it so that you can no longer select jeep type vehicles as the target.
Schwieger 17 Mar, 2018 @ 10:03am 
Testing around with building contraptions using PHX, the Gravity Hull Designator - Localized Physics & Infinite Maps by David Ralphsky, and the Simple Prop Damage mod by xyzzy.

Attempting to cobble together a box using a single rectangular wood (wire) 1x1x2 sandwiched between two PHX cubes (1x1x025) yields a product that cannot be copied - copies explode upon pasting.

This is with enhanced collisions both on and off. I will continue testing prop combinations as well as swapping out some of the mods.
WarMechanic 17 Mar, 2018 @ 7:47pm 
Could you allow welds to stay on physically parented props? I tried physical parenting my Wiremod/Acf Car and it lost all it's wiremod wiring :(
Catse  [developer] 18 Mar, 2018 @ 11:58am 
Originally posted by WarMechanic:
Could you allow welds to stay on physically parented props? I tried physical parenting my Wiremod/Acf Car and it lost all it's wiremod wiring :(
Parenting physics destroys the constraints by nature, which is why I remind people in the tutorial and tool panel to do physical parenting as the first step. If there were already constraints in the base entity you just need to redo them after physparenting and they should be fine afterwards. I might look into recreating the constraints automatically in the future but it isn't a huge priority atm.
--
EDIT: added constraint recreation option in v1.06

I did however just notice a bug, where wiremod entities attached to the base were removed on parenting (maybe this is what you meant?), which should now be fixed. You should be able to physically parent wiremod stuff without losing the wires. The only wires you will lose will be ones directly connected to the base entity (such as the entity input wire from your steering E2 to the car's base), but you can re-attach the wire and it should stay on fine afterwards.
--
EDIT: wires connected to the base entity should automatically stay on as of v1.07
Last edited by Catse; 3 Apr, 2018 @ 4:34pm
Catse  [developer] 20 Mar, 2018 @ 1:29am 
Originally posted by Schwieger:
Testing around with building contraptions using PHX, the Gravity Hull Designator - Localized Physics & Infinite Maps by David Ralphsky, and the Simple Prop Damage mod by xyzzy.

Attempting to cobble together a box using a single rectangular wood (wire) 1x1x2 sandwiched between two PHX cubes (1x1x025) yields a product that cannot be copied - copies explode upon pasting.

This is with enhanced collisions both on and off. I will continue testing prop combinations as well as swapping out some of the mods.

I think its a problem with the gravity hull designator. I haven't been able to duplicate anything with it applied (not even a single block with nothing else done to it). Looking at its workshop page, it appears it doesn't have dupe support yet (its on their TODO list)
lack 6 Apr, 2018 @ 11:48pm 
Won't work with spacebuild parts. I click on it and nothing's happening.

Edit: I reloaded the game and it works. Sorry for wasting your time if you read this.

Edit #2: Actually it stops working every now and then and I have to restart the game to make it work again
Last edited by lack; 8 Apr, 2018 @ 1:39pm
Catse  [developer] 11 Apr, 2018 @ 9:49am 
Originally posted by A guy eating a hot pocket:
Won't work with spacebuild parts. I click on it and nothing's happening.

Edit: I reloaded the game and it works. Sorry for wasting your time if you read this.

Edit #2: Actually it stops working every now and then and I have to restart the game to make it work again

Thats a bit weird if it only sometimes works... Can you give me a bit more details like what parts exactly are you trying to parent to what, is it happening in single or multiplayer etc, so I can try to reproduce it. I haven't played spacebuild myself so I'm not familiar with all the stuff
ƒlechette 12 Apr, 2018 @ 7:51pm 
[Physical Parent] lua/weapons/gmod_tool/stools/physparent.lua:408: attempt to index local 'ent' (a function value)
1. v - lua/weapons/gmod_tool/stools/physparent.lua:408
2. Call - lua/includes/modules/hook.lua:84
3. AddFrozenPhysicsObject - gamemodes/base/gamemode/obj_player_extend.lua:28
4. Load - lua/includes/modules/duplicator.lua:67
5. Load - lua/includes/modules/duplicator.lua:113
6. DoGenericPhysics - lua/includes/modules/duplicator.lua:939
7. CreateEntityFromTable - gamemodes/sandbox/gamemode/commands.lua:52
8. unknown - lua/includes/modules/duplicator.lua:723
9. ProtectedCall - [C]:-1
10. Paste - lua/includes/modules/duplicator.lua:723
11. LeftClick - gamemodes/sandbox/entities/weapons/gmod_tool/stools/duplicator.lua:66
12. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:227

It breaks the duplicator tool. I'm no coder so... you tell me what this means...
Catse  [developer] 13 Apr, 2018 @ 4:41pm 
Originally posted by ƒlechette:
It breaks the duplicator tool. I'm no coder so... you tell me what this means...

Should be fixed now.
Last edited by Catse; 13 Apr, 2018 @ 4:46pm
she 16 Jun, 2018 @ 1:53pm 
The addon literally prevented any dupes (no matter if they were from the gmod duplicator, Adv Dupe 1 or 2, they wouldn't spawn properly).
lua/weapons/gmod_tool/stools/physparent.lua:335: attempt to index field 'physparent' (a nil value)
< >
Showing 1-15 of 39 comments
Per page: 1530 50