Fixed Camera Template

holdthecows - 蓝图 - 2024/04/21
尚未评分

Fixed/tracking cameras. Basic character movement and object interaction. Lightweight template.

  • 支持的平台
  • 支持的引擎版本
    5.1 - 5.3
  • 下载类型
    资源包
    此产品包含各种虚幻引擎资源,可以选择性导入现有的项目。

Demonstration // Example Setup


Cameras:

This template provides one camera Blueprint that supports multiple kinds of fixed/tracking cameras.


Variables on the camera blueprint change the cameras behaviour.

Another Blueprint with a trigger volume manages changing between cameras. Use this blueprint to hard cut or blend to a new camera.


Cameras can be completely fixed, or can be set to track the player character. One variable controls interpolation speed for tracking the player.

Cameras that track the player can be free to rotate in any direction or limited to panning / tilting only. Cameras can have individual limits for left/right rotation.

Cameras can allow the player to nudge the view slightly left/right/up/down. Player can use either mouse or gamepad to nudge the view.


Cameras can be attached to rails and will try to keep at a certain distance from the player. A maximum speed variables tries to keep movement along rails smooth.

Cameras on rails can follow or lead player - player runs away from or towards screen.


Player Input:

Uses Unreal's Enhanced Input.

Variables on the player controller control input processing / character movement and support multiple kinds of gameplay.


WASD/Left thumbstick will always move the player relative to camera.

Allow cursor on-screen variable - supports point and click style movement. Player tries to move to the position under the cursor or tries to interact with the object under the cursor.

Allow gamepad as cursor variable - supports the player using their gamepad's right analog stick to move the cursor around the screen.

Allow cursor on-screen/don't allow gamepad as cursor - supports point and click input only when using the mouse. Cursor disabled when gamepad activated.


UI:

Post-Process Material to highlight interactable objects - supports whole object shading, highlighting the outline of the object or both.

Recognise if mouse or gamepad currently in use and display appropriate interaction prompt.


Example Maps:

Overview: Documentation and explanation / demonstration of various features and Blueprint variables.

ActionHorror: No cursor. WASD/Left thumbstick only. Cameras limited to tilting up/down only.

Interactive: Cursor / point and click to move / interact. Various cameras. Some on rails. Player can nudge cameras.

Platformer: No cursor. Fast player movement. All cameras on rails. Blending between cameras.

技术细节

Features:

  •  Fixed/tracking cameras
  •  Configured to use Enhanced Input
  •  Post-Process Material to highlight objects the player can interact with
  • Widget Blueprint to display button prompts when interaction possible
  • Overview map with text explanations / demonstrations of various features
  • Three example maps in different gameplay styles


Number of Blueprints:

Total: 20, including Child Blueprint Player Characters/Player Controllers/GameModes for example maps

Necessary Blueprints for project to work: 8


Number of Materials:

1 Master Material and 3 Material Instances for object highlighting


Input:

Gamepad and Keyboard / Mouse supported with Enhanced Input.


Network Replicated:

(No)


Supported Development Platforms:

   Windows: (Yes)

   Mac: (Yes)


Documentation:

Overview map provides a short tour of key product features.


Additional Notes:

Number of Controller Icons: 4

By default uses public domain controller prompts from Xelu's FREE Controller Prompts.