Garry's Mod Wiki


VMatrix Entity:GetBoneMatrix( number boneID )


Returns the matrix (position / rotation transform) of a given bone entity.

This can return the server's matrix during server lag.
This can return garbage serverside or a 0,0,0 fourth column (represents position) for v49 models.


1 number boneID
The bone to retrieve matrix of.

  • Bones clientside and serverside will differ


1 VMatrix
The matrix

  • Some entities don't update animation every frame such as prop_physics and won't have accurate bone matrix.

Page Links

Special Pages



Render Time: 99ms

DB GetPage 9
Generate Html 3
SaveChanges (1) 73
Render Body 0
Render Sidebar 12