Entity/SetLegacyTransform

From Garry's Mod
Jump to: navigation, search
Entity:SetLegacyTransform( )

Description

This forces an entity to use the bone transformation behaviour from versions prior to 14.07.08. 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.

Arguments

boolean enabled

Whether the entity should use the old bone transformation behaviour or not.
Personal tools
Navigation