Entity/GetBoneMatrix

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=GetBoneMatrix
 
|Parent=Entity
 
 
|Description=Returns the matrix ( position / rotation transform ) of a given bone entity.
 
|Description=Returns the matrix ( position / rotation transform ) of a given bone entity.
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes
 +
|Name=GetBoneMatrix
 +
|Parent=Entity
 
}}
 
}}
 
{{Arg
 
{{Arg
Line 10: Line 10:
 
|name=boneID
 
|name=boneID
 
|desc=The bone to retrieve matrix of.
 
|desc=The bone to retrieve matrix of.
* Not supplying this argument returns unknown matrix
 
 
* Bones clientside and serverside will differ
 
* Bones clientside and serverside will differ
 
}}
 
}}

Revision as of 21:07, 8 February 2016

 Entity:GetBoneMatrix( )

Description

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

Arguments

number boneID

The bone to retrieve matrix of.

  • Bones clientside and serverside will differ

Returns

VMatrix

The matrix
Personal tools
Navigation