- 5
- 182 118
JonDevTutorials
เข้าร่วมเมื่อ 29 พ.ย. 2019
Best Unity Tutorials on the web no doubt no doubt
ADD ARMS TO YOUR GAME - EASIEST WAY (Unity3D)
Thanks for all the nice comments on my other videos.
If you enjoyed, don't forget to like and subscribe.
Sorry if this video is a bit scuffed, it's long because there isn't any code I can tell you to copy paste and I have to show you every step. Plus I'm too lazy to edit it down to 12 minutes.
If you enjoyed, don't forget to like and subscribe.
Sorry if this video is a bit scuffed, it's long because there isn't any code I can tell you to copy paste and I have to show you every step. Plus I'm too lazy to edit it down to 12 minutes.
มุมมอง: 66 282
วีดีโอ
VAULTING/CLIMB LEDGES UNITY TUTORIAL (FPS)
มุมมอง 19K2 ปีที่แล้ว
This is truly one of the unity tutorials of all time. Simple way of adding arms coming soon (within a week) GITHUB: github.com/JonDevTutorial/LedgeClimbingTut
Random AI Patrolling Tutorial Unity3D
มุมมอง 61K2 ปีที่แล้ว
In this video I will teach you how to make a navmesh agent move around randomly within an area. Code (yes you can use it for whatever you want): github.com/JonDevTutorial/RandomNavMeshMovement
How to Pick Up + Hold Objects in Unity (FPS)
มุมมอง 34K2 ปีที่แล้ว
In this video I show how to pick up, rotate, and throw objects in Unity. CODE (YES YOU HAVE PERMISSION TO USE IT): github.com/JonDevTutorial/PickUpTutorial
How To Set Up A Mixamo Character In Unity
มุมมอง 2.5K2 ปีที่แล้ว
Other Unity tutorials are too long, here is a short one.
"RigLayerLight" is crazy
Is there a way to make it have a certain rotation when you pick it up?
The music really brings me home.
every time a pick up an item, another copy is on top of it. how do i get rid of that
Thanks for help
dammit, cops just showed up at my door, looks like going to prison 50 year minimum. shouldve liked the damn video
I named my left rig layer RigLayerLight in honor of this tutorial
How can i change R to rotate the object to the Scroll wheel instead?
It wont let me pick up the object
8:50 this was possibly the funniest thing ive seen in a tutorial
Before 6 months I saw it and it made me laugh I back now laugh again😂😂
I have a problem, when I take the object and move it to any side, it begins to deform slightly and lengthens or enlarges, how can I solve it?
wow that was very cool
my enemy aint chasing me when im in its vision
Not gonna like the video just since you said it in here but I will put it on the public playlist I credit my game jam entry to
Is there any way to include a text which tells what is the button to pick up the object. I have no idea where to put it since the pickup range is after the getkeydown. This would really help!
Hi! Yes that is definitely possible. You should add a canvas gameobject to the workspace, and add a text object to it. Then you can detect whenever a player mouses over the object you want to pick up by raycasting, checking if it hits the object. If it does hit the object, get it's position and use it to set the position of the text, you will then have to convert the coords from worldspace to screenspace. Then set the text of your canvas object to something like "Press E to pick up". If the raycast is not hitting any pick up objects then make sure the text is set to empty "". So basically all you are doing is placing a UI object in your 3D space, moving it around from object to object and changing the text. Look up some guides on 3D UI elements if you are struggling, best of luck :)
@@jondevtutorials4787 Im sorry, but can you give me an example for the script since I'm still pretty new to coding.
how do i drop it
Globox moment
ive been wrestling with adding animations from blender to unity. unitys import method is dog shit, lining up guns to the hand and not have anything clip is a nightmare. now i can see i can do it all inside unity i can seriously relax!
What if you have more than one gun? Do you have to use the arms on each gun individually?
cheang the target and the animation idle
Dry video, like it!
I'm working on something similar, but I want to work on an item that can be picked up and dropped off, I don't know how to do that, can you help me?
when I make the same settings in both of my cameras I think my unity only uses one camera and that is the pickupcamera in my unity everything goes black other than the objects in holdlayer. how can I fix it
It worked but when i try on an imported 3d object it still clips through the wall for some reason
A complex turn of events, as I am the man in that video, and have since learned from my actions and have liked the video before copy pasting your code. To further extend myself from my past transgressions I have also subscribed to show the courts and society that I am a better man
WHEN I PRESS E THE CUBE DISSAPEARS AND YES I PUT RIGIDBODY IN IT PLEASE HELP!!!
your pickupcamera isnt set to overlay
Thanks
Hey thanks for the great video, while trying to implement the code receiving the error ""GetRemainingDistance" can only be called on an active agent that has been placed on a NavMesh." even though both NPC and ground have their following component NavMeshAgent and NavMeshSurface(surface is baked too). No idea how to solve this issue, it would be very helpful if you can help me out
Dude, you say add half of the character's height according to the pivot point of your character, I don't understand how difficult it is to specify where to add this
This is what the best thing I could have come up with: StartCoroutine(LerpVault(firstHit.point + (Vector3.up * playerHeight / 2f), 0.5f));
If you are slipping of the edge use this: StartCoroutine(LerpVault(firstHit.point + (Vector3.up * playerHeight / 2f) + (Vector3.forward * 0.3f), 1f));
BRO THANKS
I have been struggling myself on a specific issue. I have been trying to develop a multiplayer survival fps game and the thing is i am not too sure on how to animate the item holding animations, i want to make only one global animation from maybe the player model so that the item that will be instantiated in the hands will have the same positions on all clients. Or maybe should i make different animations on local and remote players. Any suggestions?
I would do completely seperate animations and models for the player vs opponents. Each client renders perfectly looking FPS rigs and animations that look right in FP. The opponents are then rendered with rigs and animations that look perfect in TP. Viola, no need to adjust anything to make it work in both views.
8:45 Caught Me Off Guard.
thanks it was quite a mystery on how we had hands visible
when i apply the script and then press play it doesn't start
For those asking about reload animations, if you want it to look professional you will most likely have to: 1) Create the animation in blender/unity (don't do it in unity), or just buy one / download one. 2) When its time to do the animation, disable the IK, then let the animation play 3) Re-enable it after the animation. Maybe you would want to use a game object to store where you animation starts so you can smoothly transition the gun position at the start. Personally I would just move the gun off screen or something because I hate working with animations.
i been thinking of importing the weapon and the arms separately and merge them both in the animations
but i want tutorial how to do it i dont want to copy and paste script
lol been trying to do this for ages with some goofy ass spaghetti code when I realised I can yoink the code. :p
oh my god it was THAT easy!!! Thank you so much!!
Question does anyone know how to make it work on VRCHAT?
For anyone else who has trouble with this: 1. Make sure to either name everything the same as Jon does or to rename them in the script file to what you've used. 2. By default the keys are 'E' to pick up/drop, hold 'R' and move mouse to rotate, and 'Left Click' to throw. This can be changed in the script. 3. Make sure the object you're picking up has a box collider and a rigidbody component. 4. Make sure on your camera (where you added the script) that 'Player' is set to the parent file of your camera movement. Hopefully, that helps some of you out. But if you're still stuck don't bother asking me for help. I just started learning Unity today, so idk lol.
You are amazing thank you !!!!.
i can get it a try
how can i do this in urp? there is no clearflags :(
Great video, but I do have one problem. Every time I try to pick up the sphere I want to pick up, nothing happens. I have it on the right tag, but on the default layer. When I try to put it on the Hold layer, it can be seen through walls. Any way these can be fixed?
this man is the best, how to steal, how to create, how to do. GJ. ILV
I love it bro make more It is fast and easy and funny as well❤
thx
This is so good for my game thanks
Is it a way to make it to where only I can pick it up and nobody else able to touch it even when I drop it
Yes there is
i have the origin point in the middle how are you saying to add the vector.up to add +1 in that something like this "(Vector3.up * vaultHieght * playerHieght) + (Vector3.up * 1f)"
witch button is it to pick up
e
hey man your script is work but i dont know how to throwing the object you have solution
At least explain the code properly that what will be the values and how can we stop agent when he reached the point he just run here and there