Character (C++): - Add camera components to character (SpringArm, Camera, CameraManager) * Initialize camera manager in BeginPlay with component references * SpringArm attached to capsule with 60cm vertical offset * Camera attached to SpringArm socket - Add AimingCameraConfig for over-the-shoulder aiming view * Switch to aiming config when RMB/L2 pressed * Return to default config when aim button released - Improve OnThrowInput code clarity * Simplify controller validation flow * Clean up trajectory calculation comments - Add forward declarations for camera classes - Update class documentation to mention camera integration Blueprint: - Remove legacy camera component (AC_Camera) * Camera rotation now handled by C++ TengriCameraComponent * SpringArm interpolation managed by camera config system - Update look input to use native controller input * AddControllerYawInput/PitchInput for FreeLook mode * Skip input in side-scroller mode (camera is fixed) - Remove camera-related variables (moved to C++ config) - Simplify EventTick (camera logic now in C++ component) - Pass DA_CameraAiming config to character constructor Camera now seamlessly transitions between default and aiming modes, working in tandem with strafe movement for precise targeting. |
||
|---|---|---|
| .. | ||
| Camera | ||
| Character | ||
| Movement | ||
| World | ||
| TengriPlatformer.Build.cs | ||
| TengriPlatformer.cpp | ||
| TengriPlatformer.h | ||