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

Session 0
DB GetPage 3
Generate Html 7
SaveChanges 13
Render Body 0
Render Sidebar 5