Announcement

Collapse
No announcement yet.

How to have camera return to center after letting go of right thumbstick?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to have camera return to center after letting go of right thumbstick?

    How do I have camera return to center after letting go of right thumbstick? Much like letting go of left thumbstick returns steering to center/straight ahead. I also added UMG to the game but I can't take a screenshot of the game window. What's the difference between "InputAxis LookRight" and "Get LookRight"? I used the Vehicle Template.

    Click image for larger version

Name:	van07.PNG
Views:	1
Size:	225.8 KB
ID:	1148850

    #2
    I found out that all I have to do is to add "InputAction ResetCamera" that is called when "RightThumbstickButton" is pressed and "Set Relative Rotation" with values of 0,0,0 to the blueprint.

    Click image for larger version

Name:	van08.PNG
Views:	1
Size:	174.0 KB
ID:	1075321

    Comment

    Working...
    X