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: 29ms

DB GetPage 3
Generate Html 4
SaveChanges (1) 8
Render Body 0
Render Sidebar 11