Announcement

Collapse
No announcement yet.

Camera controls for 2-Player Fighting game with 3D Movement

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

    Camera controls for 2-Player Fighting game with 3D Movement

    Beginner here.

    I've managed to create a working camera for a fighting game project. It provides a side on perspective to both players, though there is an issue where when the two players get too close, the camera is super zoomed.

    Also, the player 2 movement controls go haywire.

    Videos of the issue can be found here:
    https://www.youtube.com/watch?v=4SFk...ature=youtu.be
    https://www.youtube.com/watch?v=ztpI...ature=youtu.be

    In test 002, I'm simply holding down on the gamepad for player 2.

    Not sure how to fix this.

    #2
    In image 3, there is a node: Clamp vector size. Maybe you should have a minimum? Give it something like 100 and see if the zoom ends at a certain point.

    Comment


      #3
      It works when I do 200, but then the two actors are not close enough to interact, which is a problem.

      Comment


        #4
        Okay, so on closer inspection, it seems my camera actor is colliding with my pawns, which is causing the camera to super zoom. Partially fixed it, but it still super zooms sometimes.

        Comment

        Working...
        X