rossmum
May 18th, 2010, 09:08 AM
This isn't so much a tutorial as a collection of shit you may find useful, but I figured it probably belongs here anyway.
One of the things that consistently shits me in games is the way the weapon animations are half-arsed. Taking some artistic license is one thing, but half the time it's more a case of not enough care or effort being put into the final product. So, me being someone who gets to shoot things (including military weapons) on a regular basis, I'll drop you a few animating hints which will give you a leg up on the competition and put you in every self-respecting shooter's good books.
I'll update this periodically. In our first installment, let's look at something you see all the time but almost never see done properly (or even well): recoil.
Recoil isn't just your aim getting thrown off. It isn't just one solid boot to the shoulder or the palm. Recoil's intensity and the form it takes depends on a lot of things, and it has a pretty distinctive behaviour which you will only truly appreciate by getting out there and doing some shooting yourself. That said, I'll give you what guidance I can.
First of all, the actual recoil generated by firing. This is the 'equal and opposite reaction' to a bullet being sent hurtling downrange at a great rate of knots (well, it's not always equal - we'll get to that later). In the case of manually-operated actions, like bolt, lever, or slide-action weapons (also revolvers), this is pretty much the only recoil you get, since the only moving parts during the entire sequence of firing are the trigger, sear, and firing pin (or hammer). However, it won't leave you looking at the sky or any of that dumb shit. As a general rule, any firearm held with a proper grip will settle back near or on its original point of aim following the round clearing the muzzle. If you're limpwristing it, it might settle a bit high or off to one side; if you're trying to strangle it to death, you'll over-compensate and end up aiming low and probably off-axis as well. If you're going to incorporate displacement of view or aimpoint in a shooter with recoil, make sure it settles at least somewhere near point of aim; having to drag your weapon back on is not only unrealistic, it's also annoying as shit. Keep in mind that this is for single shots. Rapid fire is a bit different. The weapon will still settle after you cease fire, but it'll probably settle a little up and to one side (generally the side of your master hand). The more rapid the fire, the more the muzzle will climb, and the amount it does so generally increases with every subsequent round. You might land your first two rounds in almost the same spot, but the third will go high and the fourth become a hazard to low-flying aircraft (well, perhaps not, but you get my point).
When you move to self-loaders, you have a lot more to consider. It's most evident in pistols, but you'll feel it in rifles too: there's more than one impulse. That's because on top of the round being fired, there are a variety of rather heavy metal components being thrown around at considerable speeds. We'll use any given slide-type semiautomatic handgun as an example: the first thing you feel is the recoil from the shot. The pistol will kick back against your palm, as to be expected. Before it begins to settle, however, the slide (which is usually fairly robust, and is moving very rapidly) will travel rearwards until it hits a stop. The weight of the slide, the velocity at which it is moving, and the sudden deceleration as it reaches its rearmost point of travel will cause the pistol to kick back a second time. It then begins to travel forwards, again at high speed and hitting a sudden stop. In the case of heavier pistols (1911, looking at you) this produces a very noticeable forwards rocking motion (obviously any pistol of similar design does this, but not as forcefully). That's three different motions, as well as the settling. It doesn't just snap back and then forwards in a neat, smooth sequence.
The same holds true for rifles, particularly with heavy, off-balance bolt carriers. The AK action in particular is notorious for this; watch an AK-47 being fired in slow motion and you'll see the distinct movements as first the round is fired, then the bolt travels rearwards, before chambering the next round and locking up. In the AK's case the bolt is so heavy and so off-balance that the entire rifle rocks, the mag, barrel and receiver included. More precisely engineered designs (such as the AR action) barely suffer from this problem, but that's simply because the carrier is not as heavily constructed and balanced better within the rifle.
When I get around to updating this, I'll also see if I can find some good videos that illustrate what I mean. Until then, here's a video of an AK firing that amply depicts the three motions, as well as whip due to a lighter barrel and heavy bolt carrier:
xeeeFxA_9nA
One of the things that consistently shits me in games is the way the weapon animations are half-arsed. Taking some artistic license is one thing, but half the time it's more a case of not enough care or effort being put into the final product. So, me being someone who gets to shoot things (including military weapons) on a regular basis, I'll drop you a few animating hints which will give you a leg up on the competition and put you in every self-respecting shooter's good books.
I'll update this periodically. In our first installment, let's look at something you see all the time but almost never see done properly (or even well): recoil.
Recoil isn't just your aim getting thrown off. It isn't just one solid boot to the shoulder or the palm. Recoil's intensity and the form it takes depends on a lot of things, and it has a pretty distinctive behaviour which you will only truly appreciate by getting out there and doing some shooting yourself. That said, I'll give you what guidance I can.
First of all, the actual recoil generated by firing. This is the 'equal and opposite reaction' to a bullet being sent hurtling downrange at a great rate of knots (well, it's not always equal - we'll get to that later). In the case of manually-operated actions, like bolt, lever, or slide-action weapons (also revolvers), this is pretty much the only recoil you get, since the only moving parts during the entire sequence of firing are the trigger, sear, and firing pin (or hammer). However, it won't leave you looking at the sky or any of that dumb shit. As a general rule, any firearm held with a proper grip will settle back near or on its original point of aim following the round clearing the muzzle. If you're limpwristing it, it might settle a bit high or off to one side; if you're trying to strangle it to death, you'll over-compensate and end up aiming low and probably off-axis as well. If you're going to incorporate displacement of view or aimpoint in a shooter with recoil, make sure it settles at least somewhere near point of aim; having to drag your weapon back on is not only unrealistic, it's also annoying as shit. Keep in mind that this is for single shots. Rapid fire is a bit different. The weapon will still settle after you cease fire, but it'll probably settle a little up and to one side (generally the side of your master hand). The more rapid the fire, the more the muzzle will climb, and the amount it does so generally increases with every subsequent round. You might land your first two rounds in almost the same spot, but the third will go high and the fourth become a hazard to low-flying aircraft (well, perhaps not, but you get my point).
When you move to self-loaders, you have a lot more to consider. It's most evident in pistols, but you'll feel it in rifles too: there's more than one impulse. That's because on top of the round being fired, there are a variety of rather heavy metal components being thrown around at considerable speeds. We'll use any given slide-type semiautomatic handgun as an example: the first thing you feel is the recoil from the shot. The pistol will kick back against your palm, as to be expected. Before it begins to settle, however, the slide (which is usually fairly robust, and is moving very rapidly) will travel rearwards until it hits a stop. The weight of the slide, the velocity at which it is moving, and the sudden deceleration as it reaches its rearmost point of travel will cause the pistol to kick back a second time. It then begins to travel forwards, again at high speed and hitting a sudden stop. In the case of heavier pistols (1911, looking at you) this produces a very noticeable forwards rocking motion (obviously any pistol of similar design does this, but not as forcefully). That's three different motions, as well as the settling. It doesn't just snap back and then forwards in a neat, smooth sequence.
The same holds true for rifles, particularly with heavy, off-balance bolt carriers. The AK action in particular is notorious for this; watch an AK-47 being fired in slow motion and you'll see the distinct movements as first the round is fired, then the bolt travels rearwards, before chambering the next round and locking up. In the AK's case the bolt is so heavy and so off-balance that the entire rifle rocks, the mag, barrel and receiver included. More precisely engineered designs (such as the AR action) barely suffer from this problem, but that's simply because the carrier is not as heavily constructed and balanced better within the rifle.
When I get around to updating this, I'll also see if I can find some good videos that illustrate what I mean. Until then, here's a video of an AK firing that amply depicts the three motions, as well as whip due to a lighter barrel and heavy bolt carrier:
xeeeFxA_9nA