Sign in
HomeMechanicsCamera & InputContextual Lock-On Targeting
Camera & Input

Contextual Lock-On Targeting

Contextual lock-on targeting binds the camera and the character to a chosen enemy, keeping both facing each other so that movement becomes circling and attacks land where intended.

Introduced 1998 Origin The Legend of Zelda: Ocarina of Time Developer Nintendo EAD Later adopters 24

Pressing the button asks the game to pick a valid target nearby, usually the nearest thing in view, and to hold the camera behind the player looking at it. Movement input is reinterpreted as strafing and circling around that target, and attacks, blocks and thrown items are aimed automatically. System also does tutorial work, since what a game chooses to lock onto tells the player what currently matters.

Nintendo EAD introduced Z-targeting in Ocarina of Time in 1998, having found that sword combat in a free 3D space was nearly unplayable with the era's cameras. Reference point was reportedly the way two fighters square off, a relationship rather than a set of angles. Solution folded the camera problem and the aiming problem together, which is why it spread so quickly to games with no swords in them.

Legibility came at the price of a certain flattening, because a locked fight is effectively a two-dimensional duel on a circle, and games with many attackers must decide how to switch between them. Whole subgenres accepted the trade and built on it, notably the FromSoftware lineage, where locked duelling is the entire combat model. Games that reject it, keeping free aim in melee, are still treated as making a statement.

Lineage — traced back to a root

Every mechanic in this dataset resolves to an ancestral chain. This one is 7 steps deep, beginning with Object Collision As Verb in 1962.

Open this lineage in the interactive graph →

Descends directly from

Look this mechanic up elsewhere

Also called: z-targeting, lock-on, target lock

Cite this entry

“Contextual Lock-On Targeting.” The Genome of Games, an ontology of game mechanics. Origin: The Legend of Zelda: Ocarina of Time (1998). https://genome-of-games.vercel.app/feature/contextual-lock-on-targeting/