Garry's Mod Wiki

Garry's Mod Wiki

  Entity:CopyBoneMatrix( number boneID, VMatrix data )

Description

Same as Entity:GetBoneMatrix, but instead of returning a new matrix object, it copies the data to a given matrix.

This is measurably faster when accessing bone matrices a lot.

Arguments

1 number boneID
The bone ID to retrieve matrix of, starting at index 0.
2 VMatrix data
The matrix to copy the bone matrix to.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...