Introduce a FirstPersonController / FirstPersonMode pair (mirroring the free-cam mode) wired into the GameModeManager Tab cycle. In first person the mesh is hidden, the eye sits on CameraTarget plus a per-pose firstPersonCameraTargetYOffset, and the character body yaw is driven to match the camera via a new single-writer FaceYaw hook on PlayerCharacterController. Also includes user content edits (poses, prefabs, scene) carried along. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
26 lines
740 B
Plaintext
26 lines
740 B
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!114 &11400000
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 0}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: e3e6fee2893b9d848b8b1ccca743c14f, type: 3}
|
|
m_Name: Pose_Sit
|
|
m_EditorClassIdentifier: Assembly-CSharp::PlayerPose
|
|
clip: {fileID: 7400000, guid: 8080490af5235b043abfca704be7ff8d, type: 2}
|
|
clipSpeed: 1
|
|
walkClip: {fileID: 0}
|
|
walkClipSpeed: 1
|
|
runClip: {fileID: 0}
|
|
runClipSpeed: 1
|
|
controllerCenterY: 0.45
|
|
controllerRadius: 0.1
|
|
controllerHeight: 0.85
|
|
cameraTargetYOffset: -0.2
|
|
firstPersonCameraTargetYOffset: -0.2
|