Top down camera, adventure mode controls and zoom

devzl

New member
Hey everyone,

I wanna ask about the best approach to get to the following feel using Third Person Controller.

1. Using a top down camera, I wanna be able to zoom in and out using either the mouse wheel, + and - buttons, or a joystick's right stick's up and down. Even with the zoom enable (see screenshot), the mouse wheel doesn't zoom in and out, is there a way to fix it/configure it?1776608506750.png

2. I wanna have the character move independent of the camera, I managed to achieve that by having the camera top down and character's Movement type to 3rd person adventure.

3. Only when I press right click on mouse, do I want the character to sort of change to movement type 3rd person top down, that way I can aim toward potential enemies. (Or simply use a joystick's right stick left and right, to rotate character)

TIA and sorry for the noob questions

PS: On number 1, would be also great along with the zoom to add a bit of gradual pitch, lower pitch as I zoom in, higher pitch as I zoom out
 
Hi, I got point 1 covered with Baldur's Gate 3-like zooming in this client commission from around a year and a half ago :


The whole thing took a fair amount of time and I will not share it for free, if you'd like this implemented in your project send me a DM here or on Discord.

For point 2 if you want to achieve it cleanly you'll likely need to write your custom TopDown view type. For point 3 you can use Opsive's Input system to call a function that will either change the movement type through script or use the State System to activate a preset that changes the Movement/View Type in Camera Controller or Ultimate Character Locomotion. I believe this is done through State Triggers in the Third Person Movement Types section of the UCC demo scene.

Hope this helps ! I can also offer you one screenshare for free to help with points 2 and 3 if you want.
 
Hey thanks for the input! Appreciate it. At the moment I'm not looking to pay for anything but thanks for the offer.

I sort of achieved the feel that I want with a hacky script, but I'm not sure if it's the cleanest approach, and also it's not properly working with a gamepad yet. (see below)

I will revisit it with your advice in mind thanks.

 
Back
Top