Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Help and Support
  3. Targeting system

Targeting system

Scheduled Pinned Locked Moved Unsolved Help and Support
4 Posts 3 Posters 939 Views 2 Watching
  • 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 Offline
    DGames135D Offline
    DGames135
    wrote on last edited by
    #1

    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
    0
    • DGames135D DGames135

      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 Offline
      TutorialDoctorT Offline
      TutorialDoctor
      wrote on last edited by
      #2

      @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
      0
      • DGames135D Offline
        DGames135D Offline
        DGames135
        wrote on last edited by
        #3

        I'm confused. Do you have an evample?

        Jack de WildeJ 1 Reply Last reply
        0
        • DGames135D DGames135

          I'm confused. Do you have an evample?

          Jack de WildeJ Offline
          Jack de WildeJ Offline
          Jack de Wilde
          wrote on last edited by
          #4

          @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
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Search