Camera: Cinemachine-based rig with an anchor, a state director, point-of- interest framing, pan input, and dialogue framing volumes. Player: click-to-move over the NavMesh, a pointer input layer, and a motion arbiter that reconciles direct stick input with navigation-driven movement. The pure math is isolated in NightclubArcadia.Locomotion.Math with an EditMode suite, so the arbitration rules are testable without a scene. Interaction: IClickInteractable plus a bridge that routes pointer clicks to it. Supporting project settings: adds the Cinemachine package, the Interactable and Ground tags the raycasts depend on, and NavMesh agent dimensions matched to the player capsule (radius 0.3, height 1.8, climb 0.25). Co-Authored-By: Claude Opus 5 <[email protected]>
92 lines
1.3 KiB
Plaintext
92 lines
1.3 KiB
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!126 &1
|
|
NavMeshProjectSettings:
|
|
m_ObjectHideFlags: 0
|
|
serializedVersion: 2
|
|
areas:
|
|
- name: Walkable
|
|
cost: 1
|
|
- name: Not Walkable
|
|
cost: 1
|
|
- name: Jump
|
|
cost: 2
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
m_LastAgentTypeID: -887442657
|
|
m_Settings:
|
|
- serializedVersion: 2
|
|
agentTypeID: 0
|
|
agentRadius: 0.3
|
|
agentHeight: 1.8
|
|
agentSlope: 45
|
|
agentClimb: 0.25
|
|
ledgeDropHeight: 0
|
|
maxJumpAcrossDistance: 0
|
|
minRegionArea: 2
|
|
manualCellSize: 0
|
|
cellSize: 0.16666667
|
|
manualTileSize: 0
|
|
tileSize: 256
|
|
accuratePlacement: 0
|
|
debug:
|
|
m_Flags: 0
|
|
m_SettingNames:
|
|
- Humanoid
|