Garry's Mod Wiki

duplicator.DoGenericPhysics

duplicator.DoGenericPhysics( Entity ent, Player ply = nil, table data )

Description

"Applies bone data, generically."

If data contains a PhysicsObjects table, it moves, re-angles and if relevent freezes all specified bones, first converting from local coordinates to world coordinates.

Arguments

1 Entity ent
The entity to be applied upon
2 Player ply = nil
The player who owns the entity. Unused in function as of early 2013
3 table data
The data to be applied onto the entity

Page Links


Special Pages


Wikis

?

Render Time: 153ms

DB GetPage 19
Generate Html 11
SaveChanges 106
Render Body 0
Render Sidebar 15