Announcement

Collapse
No announcement yet.

SpringArm Smooth Rotation.

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

    SpringArm Smooth Rotation.

    Hey all, I've recently been trying to learn more and remember certain aspects of unreal and would like to know if anyone here can assist me with something I am struggling with. I have my player camera attached to a springarm and want it to smooth rotate on the X axis when the player is holding down either Q or E. I have so far managed to get it to rotate but sharply and instantly. If anyone would be kind enough to guide me through this or write up/demonstrate a way to do so it would be much appreciated. Thank you

    Linked below is my terrible blueprint for rotating it currently aha.
    https://blueprintue.com/blueprint/8-9-h2v-/

    Thank you to anyone willing to help. It is much appreciated.
    - Hyperion

    #2
    Create axis mapping (Project Settings > Input > Bindings > Axis Mapping):

    Click image for larger version  Name:	Annotation 2020-05-23 071801.jpg Views:	0 Size:	9.2 KB ID:	1765566

    Use said mapping:

    Click image for larger version  Name:	Annotation 2020-05-23 071857.jpg Views:	0 Size:	30.5 KB ID:	1765567

    In addition, you can Enable Camera Rotation Lag on the springarm.

    If it's not for a Pawn and you do not want to use Control Rotation, do tell. If you must use action mapping instead (Pressed / Released), also do tell but things will get more spaghetti since one would need to wire Tick to a Gate.
    Last edited by Everynone; 05-23-2020, 02:29 AM.

    Comment


      #3
      I mean this works just as good to be honest. I did want it so the character didn't rotate so only the spring arm/camera would around the player. If you have the time to explain it that way then please do so. Either way its much appreciated.

      Comment


        #4
        For the 3rd person you could do this:

        Click image for larger version  Name:	Annotation 2020-05-23 094031.jpg Views:	0 Size:	82.0 KB ID:	1765600

        Comment

        Working...
        X