MENU

Fun & Interesting

Camera Look Around Freely UE5 and Lyra Setup : shoot forward or at crosshair

NanceDevDiaries 2,341 lượt xem 11 months ago
Video Not Working? Fix It Now

I'll be going through a setup for a free look-around camera and fix challenges related to that change in a Lyra based game. The pawn and camera rotation settings can also work in a non-Lyra UE5 project. This setup works well for platforming type games or games where you don't need the camera to always follow the pawn rotation. It's also really nice to be able to see your pawn's face!

There is some C++ in this tutorial in regards to updating the targeting to use the muzzle and pawn forward instead of shooting at the crosshair.

Code at : https://github.com/NanceDevDiaries/Tutorials/tree/main/FreeCamera

Engine version : Unreal Engine 5.4
Project based off : Lyra Sample Game 5.4

Thanks for watching!

Join my Patreon to get video credits and if you'd like to give thanks!
https://www.patreon.com/NanceDevDiaries

---------------

Timestamps:

00:00 - Intro
02:23 - Orient pawn to movement
05:12 - Enable/disable free camera based on a gameplay tag
08:20 - Fix Dash direction
09:25 - Aim down sights fix pawn rotation
11:37 - Hide the crosshair when not aiming down sights
14:30 - Shoot forward from the muzzle (C++)
20:04 - Remaining challenges
23:08 - Fun note about emote

Comment