I'm trying to manipulate the positions and angles of the hands viewmodel. I have successfully retrieved the hands entity with this function :
[CODE]Player:GetHands()[/CODE]
Now here is where I run into problems, when I use ManipulateBoneAngles and ManipulateBonePosition, nothing happens. I then tried with the ManipulateBoneScale and it scaled the model's bones just fine. This might be because of animation related things, but I do not know why that would be the issue. If anyone can provide a solution to the problem, I will be very thankful!
Why don't you just use the [URL="https://steamcommunity.com/sharedfiles/filedetails/?id=109724869"]SWEP Contruction Kit[/URL] to do all the bone editing? It's really easy to work with and I'm sure that it's still working in the latest Gmod versions.
You must alter the view model itself, not the hands. Hand bone positions are parented to the bones of the view model.
[QUOTE=huntingrifle;47884514]Why don't you just use the [URL="https://steamcommunity.com/sharedfiles/filedetails/?id=109724869"]SWEP Contruction Kit[/URL] to do all the bone editing? It's really easy to work with and I'm sure that it's still working in the latest Gmod versions.[/QUOTE]
Well the reason I don't is that I like coding everything, it feels nice when all your work pays off with a working thing. Also when your using your own code, you know exactly where everything is and what it does. So I would like to put it together myself.
[editline]5th June 2015[/editline]
[QUOTE=Robotboy655;47884532]You must alter the view model itself, not the hands. Hand bone positions are parented to the bones of the view model.[/QUOTE]
Would this mean that if I used Player:GetViewModel( ) instead of Player:GetHands(), I would be able to manipulate the angles and positions of the bones?
Sorry, you need to Log In to post a reply to this thread.