Garry's Mod Wiki


  duplicator.DoBoneManipulator( Entity ent, table bones )


"Restores the bone's data."

Loops through Bones and calls Entity:ManipulateBoneScale, Entity:ManipulateBoneAngles and Entity:ManipulateBonePosition on ent with the table keys and the subtable values s, a and p respectively.


1 Entity ent
The entity to be bone manipulated
2 table bones
Table with a BoneManipulationData structure for every bone (that has manipulations applied) using the bone ID as the table index.