View Full Version : AK47 rigid sling, how to rig properly?
06 June 2006, 09:24 PM
Its just a sling for gods sake, how come 3D Max keeps bugging out when I try to paint the weights onto it?
What exactly am I doing wrong here? More importantly, how do I just get this thing to have one parented to Point A on the gun, and the other end to point B, with the middle section for me to manipulate side to side as to give the effect of gravity/inertia when the gun is moved?
A rigid sling is very noticable, anyone know how to rig this so I can have it's ends stay where their supposed to, and so the mid section can be adjusted when I move the gun?
Any help would be greatly appreciated
06 June 2006, 09:31 PM
See what I mean about the sling? I don't mind animating it to swing back and forth, I just don't understand how to rig it to work like that.
06 June 2006, 02:45 AM
Add a point at the middle of the sling, parent it to the main bone, and add the point to the skin. Then weight it and animate the point. If you cant export a point use a bone. Im asuming the ak is skinned to a bone or several for the mechanism to work etc.
or if you have two points, at each end parented to the gun, you could use them as bones in the skin, weighting the middles of the sling to each 50/50 etc. Then all you do is rotate the points. But the ends will rotate unless you have another point or a main bone to skin them to.
06 June 2006, 03:53 PM
Unless I am very much mistaken, yo do have splineIK in max....you could try using it. And if you have any export restrictions, you could try baking the animation to the bones and then deleteing the splineIK setup....
06 June 2006, 06:48 PM
I considered Spline IK, but my max tutorials are all gone, and I can't find one on the internet that is free. I put down 6 bones in a chain, and lines it up to the sling, then I clicked the first one, selected Spline IK, and clicked the second bone, and thats all it would let me do. Did I do that wrong? Its been a long time since the spline IK snake tutorial on 3ds max 6 :rolleyes:
Also, for parenting the ends of the sling to the AK's sling swivels, is there any way to make a ball joint constraint of some sort? Or do I just make two dummies, parent them to the AK where the sling swivels are, then parent the end bones to those dummies?
06 June 2006, 10:57 PM
It really doesnt need to be that complicated - and using too many bones will be overkill. I take it this is for unreal or source. And your using the actor-x exporter if in unreal. So make, one bone for the main gun, make another for the mechanism pin, one for the ammo and one more for the strap. Parent all these to the main bone.
Skin the gun to its bone, the mechnism to its bone and the ammo. Skin the strap to the main bone and its bone, (being one in the center of the strap). Then just animate the bone in the middle of the strap.
You dont even need all those bones, just have two bones, "main" & "strap" skin the main gun to the main bone, and parent the mechanism and ammo to this bone. Then skin the strap to the main bone and strap bone. Parent/constrain the main bone to a point to animate, do the same with the strap bone and parent that point to the first point. Then just animate the points.
06 June 2006, 11:00 PM
Thats what I've been trying to do, but the envelopes haven't been cooperating at all, being too too rigid, not letting me set absolutes without in causing errors, etc... I'll try again though :(
06 June 2006, 11:30 PM
Dont use envelopes, weight the vertices, either by hand or paint the blend weights - its a lot easier. Envelopes are a rough estimation. You got "show vertices' ticked in the skin modifier (at the top) Theres even a blend weight button that does some amazing fixes.
06 June 2006, 11:30 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.