Garry's Mod Wiki


  Entity:SetLegacyTransform( boolean enabled )


This forces an entity to use the bone transformation behaviour from versions prior to 8 July 2014.

This behaviour affects Entity:EnableMatrix and Entity:SetModelScale and is incorrect, therefore this function be used exclusively as a quick fix for old scripts that rely on it.


1 boolean enabled
Whether the entity should use the old bone transformation behaviour or not.