Garry's Mod Wiki
Description
Scales the model of the entity, if the entity is a Player or an NPC the hitboxes will be scaled as well.
For some entities, calling Entity:Activate after this will scale the collision bounds and PhysObj as well; be wary as there's no optimization being done internally and highly complex collision models might crash the server.
This is the same system used in TF2 for the Mann Vs Machine robots.
To resize the entity along any axis, use Entity:EnableMatrix instead.
Client-side trace detection seems to mess up if deltaTime is set to anything but zero. A very small decimal can be used instead of zero to solve this issue.
If your old scales are wrong, use Entity:SetLegacyTransform as a quick fix.
( 0, Vector( scale, scale, scale ) )
instead.Arguments
Example
From the "Biggify" option of right clicking an npc
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...