Entity/SetupBones

From Garry's Mod
Revision as of 07:56, 22 August 2016 by Jvs (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 Entity:SetupBones( )

Description

Forces the entity to reconfigure its bones. You might need to call this after changing your model's scales or when manually drawing the entity multiple times at different positions.

NOTE

This calls the BuildBonePositions callback added via Entity:AddCallback, so avoid calling this function inside it to prevent an infinite loop.

Personal tools
Navigation