logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Targeting system

    Scheduled Pinned Locked Moved Unsolved
    Help and Support
    3
    4
    296
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DGames135D
      DGames135
      last edited by

      How can I make that when I'm close an enemy and tap the shoot button it shoots in the direction if the enemy targeted

      TutorialDoctorT 1 Reply Last reply Reply Quote 0
      • TutorialDoctorT
        TutorialDoctor @DGames135
        last edited by

        @DGames135 I uploaded a demo called "Birds" to the app store that might partly help. You'd have to check if the angle between two objects is 0 I think in order for it to be automatic.

        1 Reply Last reply Reply Quote 0
        • DGames135D
          DGames135
          last edited by

          I'm confused. Do you have an evample?

          Jack8680J 1 Reply Last reply Reply Quote 0
          • Jack8680J
            Jack8680 @DGames135
            last edited by

            @DGames135 you could use calculate direction to work out the direction of the target and then change the angle of the shoot to that direction.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post