$autocenter
Jump to navigation
Jump to search
$autocenter is a QC command available in all
Source games. It aligns the model's $origin to the center of its bounding box and creates an attachment point called "placementOrigin" where its origin used to be. This attachment will be used to automatically place the model in the right location when used as a custom gib for a static breakable.
$autocenter to each gib's QC file. Unfortunatelly, $autocenter only works on $staticprop.Syntax
$autocenter