Garry's Mod Wiki

Revision Difference

duplicator.DoBoneManipulator#515222

<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 &lt;page&gt;BoneManipulationData&lt;/page&gt; for every bone (that has manipulations applied) using the bone ID as the table index.</arg>⤶ </args>⤶ </function>⤶ ⤶