Garry's Mod Wiki

Revision Difference

duplicator.DoBoneManipulator#519090

<function name="DoBoneManipulator" parent="duplicator" type="libraryfunc"> <description> "Restores the bone's data." Loops through Bones and calls <page>Entity:ManipulateBoneScale</page>, <page>Entity:ManipulateBoneAngles</page> and <page>Entity:ManipulateBonePosition</page> on ent with the table keys and the subtable values s, a and p respectively. </description> <realm>Server</realm> <args> <arg name="ent" type="Entity">The entity to be bone manipulated</arg> <arg name="bones" type="table">Table with a <page>BoneManipulationData</page> for every bone (that has manipulations applied) using the bone ID as the table index.</arg> <arg name="bones" type="table">Table with a <page>Structures/BoneManipulationData</page> for every bone (that has manipulations applied) using the bone ID as the table index.</arg> </args> </function>