Slingshot Asset With An Orthographic Camera

Discussion in 'How Can I...?' started by SWhiteGD, Apr 29, 2019.

  1. SWhiteGD

    SWhiteGD Boxer

    Joined:
    Apr 28, 2019
    Messages:
    1
    Likes Received:
    0
    Hey guys,

    I'm having trouble using the Slingshot with my current camera.
    The asset works completely fine if the camera is topdown, pretty much how it is set up and used within the pool demo that comes with the software. However, my camera is off the side and the touch action on the slingshot doesn't relate to where the camera is.

    Basically, if I pull away from the slingshot to shoot it forward down the map which would be towards the right hand side of the screen in this case, it would shoot down as if I was pulling the slingshot from above the ball.

    I really hope this made sense! I believe theres a section of code picking up the screen coordinates, as I can pull straight down on the ball and make it go the right direction, as if the camera was situated above the ball.

    Any help would be appreciated on a monumental scale.

    Thanks!
     

Share This Page