$screenalign

From Valve Developer Community
Revision as of 13:27, 17 May 2021 by The Whale Man (talk | contribs) (Added note, in order for screen align to work the prop needs a material proxy.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Bug.png Bug: Does not work in Source 2013 despite studiomdl accepting this parameter

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.