Garry's Mod Wiki



Structure used for storing/restoring bone manipulations. Data is stored from Entity:GetManipulateBoneScale, Entity:GetManipulateBoneAngles, and Entity:GetManipulateBonePosition. Data is restored using Entity:ManipulateBoneScale, Entity:ManipulateBoneAngles, and Entity:ManipulateBonePosition.

The function duplicator.DoBoneManipulator and Structures/EntityCopyData use a table containing a BoneManipulationData structure for each bone (that has manipulations applied) with the bone ID as the struct index in the table.

Fields s, a, and p are set if they don't equal Vector( 1, 1, 1 ), Angle( 0, 0, 0 ), and Vector( 0, 0, 0 ) respectively.


s [Vector]

The entity's scale manipulation of the bone

Default: nil

a [Angle]

The entity's angle manipulation of the bone

Default: nil

p [Vector]

The entity's position manipulation of the given bone

Default: nil

Page Links

Special Pages



Render Time: 37ms

DB GetPage 6
Generate Html 11
SaveChanges (1) 8
Render Body 0
Render Sidebar 10