$collapsebones: Difference between revisions
Jump to navigation
Jump to search

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.
(more info) |
No edit summary |
||
| (3 intermediate revisions by 3 users not shown) | |||
| 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. | |||
{{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.}} | {{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.}} | ||
| Line 7: | Line 8: | ||
$collapsebones | $collapsebones | ||
[[ | == See also == | ||
* [[$definebone]] | |||
* [[$alwayscollapse]] | |||
__NOTOC__ | |||
Latest revision as of 20:19, 16 July 2025
$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.
Syntax
$collapsebones
See also