duplicator.DoBoneManipulator

From Garry's Mod
Jump to: navigation, search
 duplicator.DoBoneManipulator( )

Description

"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.

Arguments

Entity ent

The entity to be bone manipulated

Arguments

table bones

Table with a BoneManipulationData structure for every bone (that has manipulations applied) using the bone ID as the table index.
Personal tools
Navigation