Garry's Mod Wiki
Description
Sets the specified pose parameter to the specified value.
You should call Entity:InvalidateBoneCache after calling this function.
Avoid calling this in draw hooks, especially when animating things, as it might cause visual artifacts.
Arguments
1 string or number poseName
Name of the pose parameter. Entity:GetPoseParameterName might come in handy here.
Can also be a pose parameter ID.
Example
Copies pose parameters from one entity to another. Since Entity:GetPoseParameter returns pose parameter values 0-1 on the client, they have to be remapped to the range returned by Entity:GetPoseParameterRange before being set on the target entity.
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...