Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SCALE_HEAD = Vector( ) * 2.8
- SCALE_LIMBS = Vector( 1, 2, 2 )
- function _R.Player:BuildBonePositions( )
- local index, matrix
- index = self:LookupBone( "ValveBiped.Bip01_Head1" )
- matrix = self:GetBoneMatrix( index )
- matrix:Scale( SCALE_HEAD )
- self:SetBoneMatrix( index, matrix )
- index = self:LookupBone( "ValveBiped.Bip01_L_Forearm" )
- matrix = self:GetBoneMatrix( index )
- matrix:Scale( SCALE_LIMBS )
- self:SetBoneMatrix( index, matrix )
- index = self:LookupBone( "ValveBiped.Bip01_R_Forearm" )
- matrix = self:GetBoneMatrix( index )
- matrix:Scale( SCALE_LIMBS )
- self:SetBoneMatrix( index, matrix )
- index = self:LookupBone( "ValveBiped.Bip01_L_Calf" )
- matrix = self:GetBoneMatrix( index )
- matrix:Scale( SCALE_LIMBS )
- self:SetBoneMatrix( index, matrix )
- index = self:LookupBone( "ValveBiped.Bip01_R_Calf" )
- matrix = self:GetBoneMatrix( index )
- matrix:Scale( SCALE_LIMBS )
- self:SetBoneMatrix( index, matrix )
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement