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
Thanks so much for this tutorial
Thankyou
bruh.. can u make video about a character ascending towards the spot were the grappling hook was attacheD... eg; like batman.
How do you make the line visible when shooting
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
4 жыл бұрын
Make the player parent and dynamic!
@AlMgAgape
3 жыл бұрын
Make gun dynamic and box static
@hassanmaswedish2290
3 жыл бұрын
@@AlMgAgape hey can you help me I didn’t understand?
@hassanmaswedish2290
3 жыл бұрын
@@AlMgAgape how to pull player
@AlMgAgape
3 жыл бұрын
@@hassanmaswedish2290 just make rigidbody player to dynamic and the box static
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
3 жыл бұрын
Using vector2, and quaternion.identity
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; }
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
3 жыл бұрын
Add RigidBody2D in bullet.
@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
3 жыл бұрын
@@TheXcizer OK
Code? Please
For the Copy/Paste gang 😜 Grab the Scripts from : thegameguy.net/resources.html
@calebhenninger8329
8 ай бұрын
Aww man this doesn't work anymore.
Dude, you are ruining your videos with so many ads.
@omle8492
Жыл бұрын
Imagine not using an adblocker