Choose Third Person Combat for an over-the-shoulder or action camera where the character should face the camera’s gameplay look direction while moving forward, backward, or sideways. Pair the View Type with the Third Person Combat Movement Type so camera yaw, character facing, strafing, aiming, and item use share the same orientation.

Use Adventure when the camera should orbit without always turning the character, or RPG when the camera should normally follow behind and provide optional free-movement controls.

Set up the Combat pair

  1. Select the camera with Camera Controller, confirm Character references the player, and expand View Types.
  2. Use the add control and select Third Person Combat.
  3. Select the Combat row to show its inherited settings, then select its radio button in the Active column. When both perspectives are installed, choose Combat in Third Person View Type.
  4. Select the character and expand Ultimate Character Locomotion > Movement Types.
  5. Add Third Person Combat, select its radio button in the Active column, and choose Combat in Third Person Movement Type when both perspectives are available.
  6. Configure horizontal and vertical look mappings through Input.
  7. Enter Play Mode and verify camera yaw, character facing, strafing, aiming, and item direction before tuning framing or procedural motion.

The Combat View Type also accepts Four Legged as a recommended Movement Type for a four-legged character. For the standard humanoid combat setup, use the Third Person Combat pair documented above.

Third Person Combat is active with Look Offset (0.5, 0, -2.5), Field Of View 70, Collision Radius 0.05 and Pitch Limit -72 to 72.

Understand how Combat moves

The View Type receives horizontal look input and maintains the camera’s local yaw relationship with the character. The matching Movement Type rotates the character toward the Camera Controller’s character look direction, while leaving the movement input vector unchanged.

The observable result is a character that keeps facing with the camera while forward input moves forward, left and right input strafe, and backward input moves backward. Travel direction does not independently turn the character away from the camera-facing direction.

Third Person Combat has no Combat-specific Inspector fields. It inherits framing, pitch, collision, field-of-view, step-zoom, and spring settings from Third Person. Configure those shared choices around the paired rotation behavior.

Frame an over-the-shoulder view

Choice Use it when What to verify
Camera Controller Anchor and Anchor Offset The whole orbit needs a stable origin near the character’s upper body. Animate, crouch, and change stance; the camera should not inherit unwanted bone motion.
Look Offset The character should sit left or right of center, above the anchor, or at a different follow distance. Compare both shoulders and every equipped item without changing character scale.
Look Offset Smoothing State-driven shoulder or distance changes should ease instead of snap. Enter and leave aim or zoom states and confirm the offset settles quickly enough.
Horizontal Pivot Freedom The character may move a limited distance across the frame before the camera follows. Strafe left and right; delayed camera follow should be intentional and symmetric.
Collision Radius and Collision Anchor Offset Walls and corners can block the desired over-the-shoulder position. Approach tight geometry from both shoulders and confirm the camera moves inward without losing the character.

Set the anchor first, then tune Look Offset one axis at a time. Establish a clear reticle and item sightline before adding pivot freedom or offset smoothing, because both can change the character’s screen position while the player aims.

Tune rotation, pitch, and aiming

  • Pitch Limit sets the minimum and maximum vertical look angle. Test both limits while close to the character and while zoomed.
  • Rotation Speed controls how closely the visible camera follows its calculated Combat rotation. Higher values reduce lag; lower values add smoothing.
  • Secondary Rotation Speed controls rotational overrides and alignment to the character’s gravity direction. Test it on moving platforms or custom gravity when the project uses them.
  • Forward Axis applies a final orientation adjustment. Keep the default unless the project intentionally uses another camera-forward convention.
  • Look Direction Distance controls how far gameplay look raycasts search ahead; it does not change camera follow distance.

The shared Third Person look direction can account for crosshairs, recoil, moving-platform rotation, and a raycast from the camera. Test the reticle, character pose, and each item together rather than judging alignment from the camera Transform alone.

When the character’s Move Towards ability becomes active, the Combat View Type temporarily follows character rotation and resets its local yaw to prevent a snap while the ability positions the character. After the ability stops, ordinary Combat look input resumes.

Configure zoom and camera motion

Use Field Of View and Field Of View Damping for the normal lens. The Combat View Type includes the default Zoom state, while Camera Controller Can Zoom and Zoom State control whether that state can activate.

The inherited Step Zoom foldout changes camera distance separately:

  • Set Step Zoom Input Name to the distance-control axis.
  • Set Step Zoom Sensitivity above 0 to enable its input event.
  • Use Step Zoom Limit to clamp the amount added to the Look Offset’s z distance.

For a camera that switches View Types, set Step Zoom Sensitivity to 0 before Play Mode and configure zoom with States.

Verify state zoom and step zoom independently. Tune Primary Spring and Secondary Spring only after facing and framing are stable; use Springs when configuring regular response, recoil, or a brief camera force.

Compare Combat, Adventure, and RPG

Option Camera and character relationship Movement feel Choose it when
Combat The paired Movement Type turns the character toward the camera look direction. Forward, backward, and strafe input preserve camera-facing orientation. Aiming and action should stay coordinated with an over-the-shoulder camera.
Adventure Camera yaw can orbit within its configured range without always forcing character facing. Travel and camera orbit can feel more independent. Exploration benefits from looking around without adopting a permanent combat stance.
RPG The camera normally follows behind, with optional free-movement and forced-rotation inputs. Directional movement leads the camera until the player requests another relationship. The project needs a follow-behind RPG scheme rather than constant camera-facing strafing.

Use the same character, scene route, input device, and Look Offset while comparing. A different offset or smoothing value can hide the rotation difference between the three options.

Verify in Play Mode

  1. Stand still and move horizontal look input. The camera should rotate and the character should turn toward the same gameplay look direction.
  2. Hold forward, backward, left, and right in turn. The character should move in each direction while continuing to face with the camera rather than turning toward the travel vector.
  3. Aim and use every relevant item from idle, movement, and strafe. Reticle, character pose, and item result should agree with the intended look direction.
  4. Trigger Move Towards through every ability that uses it. The camera should follow the character’s positioning rotation without a yaw snap, then return to ordinary look control.
  5. Test both pitch limits, rapid yaw, slopes, custom gravity, and moving platforms. Rotation should remain stable without unwanted lag or roll.
  6. Walk into walls, corners, doorways, and foreground objects from both shoulders. Collision should preserve the character in view, and Object Fader should handle any separate fading requirement.
  7. Test state-based zoom, step zoom, recoil, and other camera forces independently. Each should settle without changing the Combat facing relationship.
  8. If both perspectives are present, switch away and back. Third Person Combat should return as both the View Type and Movement Type with working look input. Keep Step Zoom disabled for this switching test.

Related:

Developer details

Combat is a serializable ThirdPerson View Type with recommended Movement Type attributes for Third Person Combat and Four Legged, plus the default Zoom state. It adds no serialized Inspector fields beyond the shared Third Person controls.

During ordinary rotation, the View Type adds horizontal input to local yaw before calling the Third Person rotation path. While MoveTowards is active, it instead updates its base from the character rotation and resets yaw to 0 when the ability starts so the camera can follow the positioning turn without snapping.

The paired Combat Movement Type calculates character yaw from the Camera Controller look direction relative to the current Ultimate Character Locomotion rotation. Its input-vector method returns the original vector unchanged, which produces forward, backward, and strafe movement while character rotation continues to follow the look source.