Files
chameleon/Assets/Poses/Pose_Ball.asset
T
adminandClaude Opus 4.8 cfb767f6cb Add first-person camera mode with pose-aware eye offset and yaw facing
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>
2026-06-27 13:03:52 +02:00

26 lines
741 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_Ball
m_EditorClassIdentifier: Assembly-CSharp::PlayerPose
clip: {fileID: 7400000, guid: f8de430ad75135743b87456111e7abac, type: 2}
clipSpeed: 1
walkClip: {fileID: 0}
walkClipSpeed: 1
runClip: {fileID: 0}
runClipSpeed: 1
controllerCenterY: 0.25
controllerRadius: 0.15
controllerHeight: 0.5
cameraTargetYOffset: -0.5
firstPersonCameraTargetYOffset: -0.8