XCL God Player Experience
This is a 3rd person experience. The player is effectively a god.
God Players are purely spiritual and have no physical representation in the world. They:
- can never be harmed or killed
- are not constrained by world physics
The God Player Experience Concept is the gods are in Top Down mode observing and interacting with the world through their influence on AI Pawns.
God Player Pawn Data
- Pawn Class =
AXCLGodPlayerCharacter
- Ability Set:
XAI_GodPlayer_AbilitySet
(ULyraAbilitySet
) - Input Config:
XAI_GodPlayer_InputConfig
(ULyraInputConfig
) - Camera Mode:
UXCLTopDownCameraMode
Player Pawn: AXCLGodPlayerCharacter
Inheritance: AXCLGodPlayerCharacter
« AXCLCharacter
« ALyraCharacter
Class Defaults
- Capsule:
- Collision Disabled
- Disable obstruction of Navigation
- Shadow Disabled
- Skeletal Mesh:
- Disable obstruction of Navigation
- Gravity Disabled
- Character Movement Component:
- Set Mode = Flying
- Gravity Disabled
- Define desired max movement speed & acceleration
- Define desired controller rotation rate
Camera Mode: UXCLTopDownCameraMode
Inheritance: UXCLTopDownCameraMode
« UXCLCameraMode
« ULyraCameraMode
In an UpdateView
override the View
is focused on the (invisible) God Player Mesh Location.
The Rotation is set based on the PlayerController Rotation.
When it activates, the Camera automatically positions itself above the (invisible) pawn, looking down.
This Camera Mode allows you to have pretty much any perspective you want, zoom way in or out, look in any rotation you want.