$attachment
Jump to navigation
Jump to search
Attachment points are now name-based instead of fixed-index-based.
- Each attachment point's position and orientation can be defined relative to the model's origin (
"absolute"
) or a named bone. The"rotate"
option will change the orientation of the attachment point relative its parent joint. - If
"rigid"
is set, StudioMDL assumes the attached-to bone does not animate and may optimize it out, in which case this bone's attachments will reattach themselves to the first available parent bone.
- See Attachments.
Syntax
$attachment (name) (bone name) (X) (Y) (Z) ["absolute"] ["rigid"] ["rotate" pitch yaw roll]
Example
$attachment "anim_attachment_RH" "ValveBiped.Anim_Attachment_RH" -0.00 -0.00 0.00 rotate -90.00 -90.00 0.00