Files
chameleon/Assets/Poses/Pose_Ball.asset
T
adminandClaude Opus 4.8 52f9ace9e0 Replace ceiling Y offset with per-pose CharacterController capsule
Each PlayerPose now carries its own collider center Y, radius and height,
eased and routed to the CharacterController via a SetCapsule single-writer.
This lets crawl poses (Ball/Star) shrink the capsule to fit under furniture.
The ceiling Y offset is removed; poses without authored sizes fall back to
the base capsule, so existing poses keep their collision.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 09:55:10 +02:00

25 lines
702 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