How to make a GRAPPLING GUN in UNITY - 2D

Ойындар

Consider donating to help me keep this channel and website alive : paypal.me/supportTheGameGuy 💖
or Support me on Patreon : / the_game_guy
In this video im gonna show you how you can make a grappling gun that can pull boxes in unity Also if you want me to make a grappling gun that can lift the player up lemme know in the comment section but as there are many tutorials on that topic already i decided to go with something different and hence this video.
and here are some more tutorials which might be useful :
How to throw knife in UNITY :
• How to throw knife usi...
How to make an AWESOME game Menu :
• How to make an AWESOME...
How to make level saving System :
• How to make a simple L...
Get Started unity 2d Shaders by BRACKEYS :
• Get started with 2D Sh...
How to make Health Bar in UNITY :
• How to make a HEALTH B...
How to make first person game in UNITY by BRACKEYS :
• MAKING YOUR FIRST FPS ...
Some interesting and fun Unity videos by DANI
I made an evil bot my friend :
• I Accidentally Made an...
I turned KZread into giant battle royal game :
• I Turned KZread into ...
I made a game in ONE HOUR :
• Making a Game in ONE HOUR

Пікірлер: 22

  • @FlamingIceGetRktM8
    @FlamingIceGetRktM84 жыл бұрын

    Thanks so much for this tutorial

  • @AlMgAgape
    @AlMgAgape3 жыл бұрын

    Thankyou

  • @ingahan5820
    @ingahan58203 жыл бұрын

    bruh.. can u make video about a character ascending towards the spot were the grappling hook was attacheD... eg; like batman.

  • @jeffjoe1681
    @jeffjoe16812 жыл бұрын

    How do you make the line visible when shooting

  • @jorgeeduardoolmossanchez8983
    @jorgeeduardoolmossanchez89834 жыл бұрын

    Plz make one where the gun follows the player and can Also lift him up and act like a Real rope, Like a ropeswing with a gun in 2d

  • @ChaluNetwork

    @ChaluNetwork

    4 жыл бұрын

    Make the player parent and dynamic!

  • @AlMgAgape

    @AlMgAgape

    3 жыл бұрын

    Make gun dynamic and box static

  • @hassanmaswedish2290

    @hassanmaswedish2290

    3 жыл бұрын

    @@AlMgAgape hey can you help me I didn’t understand?

  • @hassanmaswedish2290

    @hassanmaswedish2290

    3 жыл бұрын

    @@AlMgAgape how to pull player

  • @AlMgAgape

    @AlMgAgape

    3 жыл бұрын

    @@hassanmaswedish2290 just make rigidbody player to dynamic and the box static

  • @leobalta6734
    @leobalta67343 жыл бұрын

    Hello i follow this toturial perfectly but i have a error in the Void Shoot, and it says "Vector3 has not a definicion for Quaternion or a extencion metod Quaternion nor one that accepts a first argument of type vector3

  • @AlMgAgape

    @AlMgAgape

    3 жыл бұрын

    Using vector2, and quaternion.identity

  • @beton3035
    @beton30352 жыл бұрын

    Its only pointing on camera position, that's all void Update() { Vector2 MousePos = Camera.main.ScreenToWorldPoint(Input.mousePosition); print(MousePos); Dir = MousePos - (Vector2)transform.position; FaceMouse(); } void FaceMouse() { transform.right = Dir; }

  • @TheXcizer
    @TheXcizer4 жыл бұрын

    My line renderer is not updating the position of the gun or the object, it just stays in the same position from wherever i shot it.

  • @SayedSafwan

    @SayedSafwan

    3 жыл бұрын

    Add RigidBody2D in bullet.

  • @TheXcizer

    @TheXcizer

    3 жыл бұрын

    sayed safwan I ended up fixing it by moving it to late update (I may be misremembering since it was a few days ago). I decided to use a boxcast to detect hits instead anyway. Now I just gotta figure out how to make it anchor to the right location since it kinda goes wherever it wants surrounding the grappleable object. That or I figure out a different way to do aim assist with a single raycast.

  • @SayedSafwan

    @SayedSafwan

    3 жыл бұрын

    @@TheXcizer OK

  • @aiman9306
    @aiman93064 жыл бұрын

    Code? Please

  • @TheGameGuy
    @TheGameGuy3 жыл бұрын

    For the Copy/Paste gang 😜 Grab the Scripts from : thegameguy.net/resources.html

  • @calebhenninger8329

    @calebhenninger8329

    8 ай бұрын

    Aww man this doesn't work anymore.

  • @jorgevital89
    @jorgevital893 жыл бұрын

    Dude, you are ruining your videos with so many ads.

  • @omle8492

    @omle8492

    Жыл бұрын

    Imagine not using an adblocker

Келесі