Garry's Mod Wiki

duplicator.DoBoneManipulator

duplicator.DoBoneManipulator( Entity ent, table bones )

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

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

Page Links


Special Pages


Wikis

?

Render Time: 58ms

Session 0
DB GetPage 6
Generate Html 10
SaveChanges 14
Render Body 0
Render Sidebar 21