Simple physics brush: Difference between revisions
Jump to navigation
Jump to search
(cleanup) |
(Filled in page) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:simple_physics_brush}} | {{DISPLAYTITLE:simple_physics_brush}} | ||
{{stub}} | {{stub}} | ||
{{ | {{ent not in fgd}} | ||
{{base brush|simple_physics_brush}} | |||
==Entity description== | ==Entity description== | ||
A simple physics brush with no unique properties. Brush entities converted by [[phys_convert]] are turned into this entity. Doesn't have any physics when spawned by other means. | |||
==FGD Code== | |||
<pre>@SolidClass base(Targetname, Parentname) = simple_physics_brush | |||
[ | |||
]</pre> | |||
==Keyvalues== | ==Keyvalues== | ||
Line 17: | Line 23: | ||
{{O Targetname}} | {{O Targetname}} | ||
[[ | ==See Also== | ||
* [[func_physbox]] - Conventional physics brush | |||
* [[simple_physics_prop]] - Prop counterpart |
Revision as of 16:34, 30 September 2017
Entity description
A simple physics brush with no unique properties. Brush entities converted by phys_convert are turned into this entity. Doesn't have any physics when spawned by other means.
FGD Code
@SolidClass base(Targetname, Parentname) = simple_physics_brush [ ]
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Parentname:
- Parent (parentname) <targetname>
- Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
Inputs
Parentname:
- SetParent <string >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <string >
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <string >
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
Outputs
See Also
- func_physbox - Conventional physics brush
- simple_physics_prop - Prop counterpart