I’m trying to setup a Battlerite like game. Lyra comes with CM_ArenaFramingCamera which produces a fixed camera that doesn’t track the player. I don’t really understand how this is achieved, and I’m not sure how I could modify it to follow the player. Where would something like that happen and how would it play into the Ability system?
I’ve also tried looking at the CM_ThirdPerson camera to modify it to function as a top down camera. I understand how to change the curves to position the camera, but there’s a lot of weird behavior associated with this and I’m unclear of how to fix the rotation.
I’d appreciate anybody that has a deep dive on using the Lyra system to modify and create custom cameras!
Realistically you have a step curve ahead. Lyra project is using a lot of new UE5 systems that you need to understand first before trying to adapt it to your needs. They have this new plugin workflow and stuff which I’m trying to figure out at the moment.
specifically to your question the CM_ThirdPerson is extending custom C++ classes. The logic is inside the LyraCameraMode_ThirdPerson which extends LyraCameraMode
You need to generate a visual studio project for the project to see these classes. once you have everything set correctly you can try to modify them to make them as you need
Thanks for the reply. I am already kind of familiar with the whole GAS plugin system, as I made a prototype with it.
My only issue is I really have no idea where to start with editing the camera curves, there’s almost nothing directed towards it, and I can’t really find what I need to help me progress.
LYRA using V8 Supercam Hyper-Cinematic Camera Subsystem supporting Player Controlled on-demand Interpolation True First Person, Second Person, Third Person, Side View, Top-Down, Others.
For those interested in modding LYRA Camera System for a custom camera system. Theres a C++ class you inherit from. I’m using it to integrate V8Supercam and its the fastest way I’ve been able to add ‘True First Person’ with Third Person Manny/Quinn Characters.
I created a CustomPlayerController inherited from ‘LyraPlayerController’ BP.
In the CustomPlayerController disable the PlayerCameraManagerClass (Set to None).
In the GameMode use the CustomPlayerController for player controller class.
Afterwards, I simply added my Springarms & Cameras to the main skeletal mesh component ‘SKM_Manny_Invis’ mesh in the ‘B_Hero_ShooterMannequin’ BP Class.
V8 Supercam is a Blueprints Subsystem we developed. That leads me to suspect you have issues with your Camera setup. Please provide screenshots or video of your camera setup and how its working so far.
I’m not using the LyraCameraSystem. Im using the V8 SuperCam Camera System. I set the active camera (Viewtarget) in V8SuperCam with “Set View Target with Blend BP” Node. This node only works on Actors. Thus, I spawn Camera Actors and attached to the Springarm Endpoints.
No, unfortunately not. I instead just went without the Lyra Character and added a new regular Character blueprint. It works with the lyra controller still, but takes away many of the new features.
I’m sorry to hear that. I did not try using camera component method with LyraCharacter as V8 Supercam uses Viewtarget Actors thus, I’m not certain it works with Camera Components.
Perhaps you can use Viewtarget Actor instead? It only requires a few more steps to setup and in my opinion, it offers more flexibility anyhow.
To use a Viewtarget Actor you simply spawn a Camera Actor and attach to Springarm component on possession. You can get ‘Prototype’ Blueprints here to speed up the setup.
Not Yet. Its further on the To-Do-List and the implementation is game dependent. I don’t see it as True Targeting, only Aiming, and the behavior appears to be strictly based on Camera’s Center Line-of-Sight.
What is True Targeting?
My version of True Targeting is the selection of one or more Target’s to effect, whether aimed at or not.
I would anticipate the first step to modifying “target code” will be to disable LYRA’s default. The goal would be to decouple projectile spawning from the Camera’s Center Line-of-Sight. You can always recalculate it for Aim Down Sight.
For my own purpose, I’m implementing ‘Aiming’ in the Weapon ‘Muzzle’ as the Camera System is Multi-perspective and the Player Location is independent of the Camera. This would be my recommendation for universal aiming suitable for any perspective.
The Video below demonstrates the Weapon Aim concept
Lyra is overcomplicated a bit, you can change everything here but it need great Lyra knowledge and c++. I use simpler solution, just removing Lyra and creating my cameras. Here fps exaple, can be used in any different view just with your own, simple standard camera solution. Here sample, I have not recorded with weapon and ADS, but I think fps view is correct - just I had to disable head (owner not see) and now I have show hidden shadow for head - on video you can see no head shadow Human character #1 - YouTube