This article's documentation is for anything that uses the Source engine. Click here for more information.

$collapsebones: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
m (Minor cleanup)
Line 1: Line 1:
{{LanguageBar}}
{{this is a|QC command|name=$collapsebones}} 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.  
{{this is a|QC command|name=$collapsebones}} 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.  


Line 7: Line 8:
  $collapsebones
  $collapsebones


[[Category:QC Commands|collapsebones]]__NOTOC__
== See also ==
* [[$definebone]]
* [[$alwayscollapse]]
 
[[Category:QC Commands|collapsebones]]
 
__NOTOC__

Revision as of 17:43, 14 July 2024

English (en)Translate (Translate)

$collapsebones is a QC command available in all Source 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.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

See also