Garry's Mod Wiki

Entity:SetLegacyTransform

Entity:SetLegacyTransform( boolean enabled )

Description

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.

Arguments

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

Page Links


Special Pages


Wikis

?

Render Time: 56ms

DB GetPage 22
Generate Html 5
SaveChanges (1) 15
Render Body 0
Render Sidebar 12