Physics constraints: Difference between revisions
Jump to navigation
Jump to search
Note:The game must be in Developer mode for this command to work properly.
Gameplayer (talk | contribs) (Undo revision 453624 by Gameplayer (talk)) Tag: Undo |
(Added information about the command observed in Half-Life 2) |
||
Line 1: | Line 1: | ||
{{this is a|console command|name=physics_constraints}} It highlights physics constraints in the map with colorful boxes. Syntax: {{code|physics_constraints <[[classname]]>/<[[targetname]]>}}. No argument picks what player is looking at. | {{this is a|console command|name=physics_constraints}} It highlights physics constraints in the map with colorful boxes. It will show data about the constraint entities involved in a [[debug overlays|debug overlay]] like that of {{code|[[ent_text]]}}. Syntax: {{code|physics_constraints <[[classname]]>/<[[targetname]]>}}. No argument picks what player is looking at. | ||
{{devreq}} | {{devreq}} | ||
Without developer mode enabled, the command will only at best print information of the physics constraints to the console. | |||
==See also== | ==See also== | ||
* [[Debug overlays]] | * [[Debug overlays]] | ||
[[Category:Debugging]] | [[Category:Debugging]] |
Latest revision as of 20:02, 21 September 2024
physics_constraints
is a console command available in all Source games. It highlights physics constraints in the map with colorful boxes. It will show data about the constraint entities involved in a debug overlay like that of ent_text. Syntax: physics_constraints <classname>/<targetname>. No argument picks what player is looking at.

Without developer mode enabled, the command will only at best print information of the physics constraints to the console.