$screenalign: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Added note, in order for screen align to work the prop needs a material proxy.)
Line 8: Line 8:


[[Category:QC Commands|screenalign]]__NOTOC__
[[Category:QC Commands|screenalign]]__NOTOC__
===Note===
The model's material must have a material proxy! Having no material proxy will show it working properly in hammer, but it will appear static in game.

Revision as of 13:27, 17 May 2021

Sets a bone to automatically realign its orientation to the screen.

Icon-Bug.pngBug:Does not work in Source 2013 despite studiomdl accepting this parameter  [todo tested in ?]

Syntax

$screenalign <bone name> <"sphere" or "cylinder">

Note

The model's material must have a material proxy! Having no material proxy will show it working properly in hammer, but it will appear static in game.