$collapsebones: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(more info)
Line 1: Line 1:
<code>$collapsebones</code>
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.


* Collapse all bones in the hierarchy.  
{{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.}}


[[Category:QC Commands]]
== Syntax ==
 
$collapsebones
 
[[Category:QC Commands|collapsebones]]__NOTOC__

Revision as of 14:10, 28 April 2008

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.pngTip: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.

Syntax

$collapsebones