How to use the right button for rotation camera in top down style game?

Kehaw

Member
Hello, in top down style game, I want to use right button for change the camera's rotation and use mid button for reset it, but in default settings right button is aim.

I can use script to do that, but I think it is not the right way in UCC.

Thank you.
 
You can change the button mapping for the right joystick/touchpad area if you are using the virtual controls integration. There isn't a mapping to reset the camera, for this you'll need to subclass the top down viewtype and add some code which resets the pitch/yaw to a specific rotation.
 
You can change the button mapping for the right joystick/touchpad area if you are using the virtual controls integration. There isn't a mapping to reset the camera, for this you'll need to subclass the top down viewtype and add some code which resets the pitch/yaw to a specific rotation.
Okay, thank you, I'll be try.
 
Top