Talk:Entity Hierarchy (parenting): Difference between revisions
Darthkillyou (talk | contribs) No edit summary |
Rodeoclown (talk | contribs) (prop_pysics CAN be parented) |
||
Line 4: | Line 4: | ||
A few collision and movement errors may happen if things are parented to "!player"... Also, has anyone noticed that the concommand: "ent_fire !picker setparent !player" works on physics objects like barrels and such? --[[User:Darthkillyou|Darthkillyou]] 09:25, 9 Mar 2008 (PDT) | A few collision and movement errors may happen if things are parented to "!player"... Also, has anyone noticed that the concommand: "ent_fire !picker setparent !player" works on physics objects like barrels and such? --[[User:Darthkillyou|Darthkillyou]] 09:25, 9 Mar 2008 (PDT) | ||
prop_physics can be parented - although it shows as an error in Hammer. When you clear parent though, I think it reverts to wherever the object was when it was parented. I tested this by creating a rotating cube, parented a prop_physics to it, rotating, then clearing parents - the prop seemed to teleport back to where it was initially. --[[User:Rodeoclown|- RodeoClown]] 20:21, 8 Apr 2008 (PDT) |
Revision as of 20:21, 8 April 2008
Might want to add some pictures to get a better idea of parenting. Sometimes parenting can become very advanced, and this article doesn't explain all that may be needed of information.--Gear 01:37, 4 Sep 2007 (PDT)
Can entities be parented to the player in single-player? Would you just use "!player"? I've noticed that Baxayaun alluded to it in some of his SDK Project comments, but some experiments suggest that it doesn't work - the object often stays there, where the player spawned. --Campaignjunkie (talk) 18:02, 22 Oct 2007 (PDT)
A few collision and movement errors may happen if things are parented to "!player"... Also, has anyone noticed that the concommand: "ent_fire !picker setparent !player" works on physics objects like barrels and such? --Darthkillyou 09:25, 9 Mar 2008 (PDT)
prop_physics can be parented - although it shows as an error in Hammer. When you clear parent though, I think it reverts to wherever the object was when it was parented. I tested this by creating a rotating cube, parented a prop_physics to it, rotating, then clearing parents - the prop seemed to teleport back to where it was initially. --- RodeoClown 20:21, 8 Apr 2008 (PDT)