本帖最后由 满心欢喜 于 2022-10-9 00:48 编辑
Custom PlayerCameraManager containing the most used features, ready for plug and play usage. Demo PlayerController included which handles changing of presets between TopDown, RTS, Shoulder, FirstPerson, FirstPersonArms (preset configuration already included). Also containing logic to zoom from ThirdPerson Shoulder view directly to FirstPerson view and back and changing of Skeletal Mesh to Arms Mesh and back (for specific presets).
Also included: Sample PlayerController showcasing a cameramode which always keeps all players on screen while still respecting min and max zoom levels, pushing back the players if they are trying to run out of the maximum zoom level of the camera.
Number of Blueprints: 1. Many helper Blueprints for showcasing usage
List of Features:
Custom PlayerCameraManager featuring:
Zooming in and out
Smooth zooming with configurable speed
Min / Max zoom distance
Snapback to initial rotation (with or without smoothing)
with configurable speed
Clamping of Yaw / Pitch
Camera Offset to target actor
Camera Lag with configurable speed
Basic Collision (similar to Springarm)
Rotate Camera with Player Yaw and/or Pitch
Position Locking (=Stationary camera following target actor
through rotation)
RTS like Edge Scrolling with configurable speed and edge-area
RTS like scrolling through input axis (i.e. Thumbstick)
with configurable speed
Preset handling with 5 pre-configured presets: TopDown,
RTS, Shoulder, FirstPerson, FirstPersonArms
Runtime preset changing with smoothing (configurable)
|
|