$collapsebones
Jump to navigation
Jump to search
![English (en) English (en)](/w/images/3/37/Flag-en.png)
Tip:When building an animation only .mdl or a vertex-only .mdl, you'll want to do this before you create the $definebone, then remove this command.
![English (en) English (en)](/w/images/3/37/Flag-en.png)
![Translate (Translate) Translate (Translate)](/w/images/a/a8/Flag-Translate.png)
$collapsebones
is a QC command available in all Source games. It removes all bones that aren't connected to vertices, attachment points, ik rules, or don't animate. Vertices or attachment points that are connected to a collapsed bone are reconnected to the bones parent.
![Tip.png](/w/images/thumb/4/45/Tip.png/9px-Tip.png)
Syntax
$collapsebones
See also