Full Body Awareness Controller

Shooter 2 Integration

Use Shooter 2 weapons with the rig: sights, aiming down sights, reloads, the second hand and recoil.

Shooter 2 Integration

The Shooter 2 Integration connects Shooter 2 weapons to the rig. Install it from the Installer. Shooter weapons then work without any extra components.

It is highly recommended to install the included Shooter 2 examples and look at how the weapons are set up: their sights, Scope Through sights, Free Hand handles, Held Item components and Held Item Profiles. See Examples on the Getting Started page.

What It Reads From Shooter

Shooter settingWhat the rig does with it
MuzzleThe barrel turns towards the crosshair point. With Align Shots To Crosshair on, each shot is also lined up exactly with the crosshair when it is fired.
Sight > AimUse Camera Center with Raycast. The hit point sets how far away the barrel aims.
Scope ThroughAiming down sights. The scope point is placed on the camera axis at the Scope Distance, and the barrel stays aligned.
Free HandThe second hand grabs the handle you set, and lets go during reloads and jam fixes.
ReloadsDuring a reload the hands follow the animation exactly, then blend back to the hold pose.
ShotsEvery shot plays the Recoil Kick modifier of the weapon's profile, on top of Shooter's own aim recoil.

Shots Go to the Crosshair

Shooter fires bullets from the Muzzle, along the barrel. The barrel sits below the camera, so a shot can miss the edge of an object the crosshair is on.

Turn on Align Shots To Crosshair in the rig's Held Items section to fix this. It is off by default. When a shot is fired, the rig finds the crosshair point with a ray from the center of the camera. The ray starts level with the Muzzle and skips the Character, what it holds, and small loose physics objects like ejected shell casings. It then turns the weapon for that moment so the Muzzle points straight at that point, and the bullet hits where the crosshair is.

The bullet still starts at the Muzzle, so a wall right in front of the barrel still blocks it. Spread is added on top as normal. The weapon is put back before the frame is drawn, so you never see this turn.

The shot goes along the barrel when:

  • The weapon is not held up to aim, for example while it is lowered for sprinting, pulled back from a wall, or during a reload or an equip.
  • The crosshair point is more than Max Shot Correction degrees away from the barrel.

It also works with a third person camera, for example after switching with V in the Shooter 2 examples. The crosshair point then comes from the center of the third person camera. In third person the rig doesn't hold the weapon up, so the shot is lined up whenever the crosshair point is within Max Shot Correction of the barrel.

Aim Down Sights

  1. Add a second sight to the weapon, for example named ads.
  2. Turn on Scope Through on that sight.
  3. Switch to it with Enter Sight on right mouse, and back on release.

A sight without Scope Through is still hip fire for the rig, even if it is called ads. See Held Items for how the hip pose is made.

One-Handed Weapons

With Free Hand set to None, like on a pistol or a flashlight, the other arm plays its animation and moves with the body. During reloads it is locked to the weapon.

If a one-handed weapon uses a two-handed animation, set the rig's Arms > Free Hand Without Grip to Lock To Weapon.

Grenades

Shooter's grenade example attaches the grenade to the head, 25 cm in front of the face, with Grenade_Weapon_Handle. The rig scales the head bone down to hide it from the camera, so a grenade on the head shrinks into the middle of the head, inside the Character's own collider. Looking up, the thrown grenade hits the top of the collider and drops in front of the player.

Hold the grenade in the hand instead:

  1. In the Attach Prop instruction that adds the grenade, attach it to the right hand instead of the head. Use a hand handle like Pistol_Weapon_Handle, or set the bone to Right Hand.
  2. Add a Held Item component to the grenade prop and give it a Held Item Profile with a Placement In View modifier. Set Placement to Fixed, Position to about (0.2, -0.2, 0.42) and turn on Lock To View. Shooter has no holding animation for the grenade, so without this the arm hangs and the grenade sits at hip height.
  3. It is recommended to add the grenade mesh, Grenade_Object, as a child of the grenade prop, so the character holds the grenade in his hand. Shooter's grenade prop has no mesh, so otherwise the hand holds nothing until the grenade is thrown. To hide the held grenade while the thrown one flies, add these instructions after Fire Release in the prop's Trigger_Fire: Set Active on the mesh to off, Wait 0.6 seconds, and Set Active on the mesh to on.

The grenade is thrown from the prop along its forward axis, where the trajectory line starts.

The longer you hold the fire button, the harder the grenade is thrown. A quick tap drops it in front of the player, wherever you look.

Shooter Human Rig

Shooter's Shooter Human rig is not needed. Setup Selected Character removes it. If a character still has one, it is switched off while the Full Body Awareness rig is active, and switched back on when the rig is disabled or a third person camera is active. Keep it if you switch to third person. See First and Third Person on the Character Setup page.

Use this package's Lean instruction to lean. Shooter's Lean instruction needs the Shooter Human rig.

Bullet Holes on Moving Objects

Shooter does not attach impact effects to what was hit. Add Stick To Surface to the decal of the impact effect. See Stick To Surface.