Basic Mouse Inputs in Unity
4:19
Жыл бұрын
Basic Keyboard Input in Unity
6:16
Пікірлер
@ignas_v
@ignas_v 10 күн бұрын
straight to the point
@VeraJune-d5y
@VeraJune-d5y 14 күн бұрын
This video helped me a lot. Thank you so much!
@АнтонВоронин-о4щ
@АнтонВоронин-о4щ 15 күн бұрын
Wow! Very good explanation with demonstrative example, thanks for that
@marveltime3600
@marveltime3600 Ай бұрын
good one bro
@robotazulado
@robotazulado Ай бұрын
marry me
@robotazulado
@robotazulado Ай бұрын
underrated video, +1000 and like
@robotazulado
@robotazulado Ай бұрын
underrated video, thanks, +10 and like and sub
@silentcaay
@silentcaay Ай бұрын
This adds bloom to the scene but it doesn't actually make the texture emissive, which is what I clicked the video hoping to learn. It seems you can have an alpha channel or an emissive texture but not both? I can't seem to figure out a way to do that. I want to make a sprite glow particularly bright but doing that through bloom post-processing will blow out the entire scene. My hunt for a solution continues...
@tancao9645
@tancao9645 27 күн бұрын
bro same here, how is the search going?
@silentcaay
@silentcaay 27 күн бұрын
@@tancao9645 I gave up and went with a less emissive look. 🤷‍♂
@silentcaay
@silentcaay 5 күн бұрын
@@tancao9645 I just came across a technique that could be useful but I haven't played with it much yet. Using shader graphs, you can utilize a dissolve threshold to cut out parts of the material. You don't get the feathering you can get with an alpha channel, but it does allow for partial transparency combined with HDR emission.
@shrijanmaram7939
@shrijanmaram7939 Ай бұрын
Exactly what I needed
@broodeater
@broodeater Ай бұрын
Gute Arbeit!
@scoop9551
@scoop9551 2 ай бұрын
Hey Thanks for the videos! very helpful, i'm wondering if you know how to create an emission map for the sprite i'm using, is there some easy tool i can use since i'm not really good with them.
@DaCoder3.14
@DaCoder3.14 2 ай бұрын
Lol you're the only person who had a tutorial that i was looking for and I already watch your minecraft moding vids. Thanks man, your videos are always great.
@guilhermerochanogueira-i8w
@guilhermerochanogueira-i8w 2 ай бұрын
Lov U
@mancans6862
@mancans6862 3 ай бұрын
Worked for me! ty
@Imdedlol
@Imdedlol 3 ай бұрын
what do if it says insal queue or endless install
@einfachnurtoni
@einfachnurtoni 3 ай бұрын
very deutsch
@adalutegames
@adalutegames 3 ай бұрын
i dont want everything affected by bloom. So I put my global volume threshold at 1 and then tried to control the emissiveness through the materials SurfaceInput Emission by having the HDR really bright on obj i want to bloom and then on another amterial i have the HDR dark. but actually when i adjust the hdr brightness and darkness, nothing happens my scene for bloom.
@zixenvernon1643
@zixenvernon1643 3 ай бұрын
after adding this code my character moves like they have bricks on their feet. everytime i jump it's only 0.00003 unites off the ground. What gives?
@Dimeless_
@Dimeless_ 3 ай бұрын
Cristal clear tutorial, thanks !
@VanshDivyanshu16
@VanshDivyanshu16 4 ай бұрын
I LOVE YOU ! THANKYOUU
@KajolTarate-z8u
@KajolTarate-z8u 4 ай бұрын
do we have to install unity editor
@ruffleraveninc3602
@ruffleraveninc3602 4 ай бұрын
In my project the object only rotates about 90 degrees around the object then reverses direction. I assume it’s clamping for some reason but no clue why.
@hardcore.based.indusian2167
@hardcore.based.indusian2167 4 ай бұрын
great Tutorial
@keithpatience74
@keithpatience74 5 ай бұрын
Hello. This is awesome. Im using this to control a helicopter sprite. How can i have a delay so that the helicopter flies back slightly before turning the other direction? Im assuming its something to do with the rb.velocity.x < value
@M2DF3
@M2DF3 5 ай бұрын
Frick rigidbody
@yasaminalizadehashrafi924
@yasaminalizadehashrafi924 5 ай бұрын
oh and it when I drag and drop a script into an objects inspector it doesn't work.. it says something like this: Can't add script Can't add script component 'Car' because the script class cannot be found. Make sure that there are no compile errors and that the file name and class name match.
@yasaminalizadehashrafi924
@yasaminalizadehashrafi924 5 ай бұрын
in my inspector I used to be able to see all the attributes in my script but now they are missing and I don't understand why it's also not private attributes, and yes I have saved the scripted that is not the problem either... it doesn't show the serlizefield ones either.. please help me out...do you have any clue as to what might be a problem?
@S_Trigo
@S_Trigo 5 ай бұрын
THANK YOU SO MUCHHH I HATE QUATERNIONSS FINALLY SOMEONE WHO DOESN'T USE QUATERNIONS
@rogformer
@rogformer 5 ай бұрын
I have watched maybe 8 hours of content trying to find a simple and efficent way to make this work while also allowing me to try and figure out how to build a system on top of it to snap to locations. This is the only video that remotely does this. Thank you. Would love a snapping tutorial as well! Subscribed.
@ahu3fi1
@ahu3fi1 6 ай бұрын
i love this channel ❤❤❤
@jackgames3009
@jackgames3009 6 ай бұрын
I do the Cursor.visible = false; and it still shows nothing happens
@TheAtticus82
@TheAtticus82 6 ай бұрын
Was looking for a tutorial exactly like this. Thank you!
@yokami_9408
@yokami_9408 6 ай бұрын
Waiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiit ! Kaupenjoe ! I remember following your minecraft tutorials :')
@jetdragon5
@jetdragon5 7 ай бұрын
I get an error after I did 1:12 (Cursor.lockstate = CursorLockMode.locked;) and it says " 'Cursor' does not have a definition for lockstate'" Code here: using System.Collections; using System.Collections.Generic; using UnityEngine; public class HideMouse : MonoBehaviour { // Start is called before the first frame update void Start() { Cursor.visible = false; Cursor.lockstate = CursorLockMode.Locked; } }
@Geny
@Geny 7 ай бұрын
There is a typo, it should be Cursor.lockState, not Cursor.lockstate.(capital S)
@mikhailhumphries
@mikhailhumphries 7 ай бұрын
When you coming back?
@razlubinsky
@razlubinsky 8 ай бұрын
I got here because I wanted to know how to separate the bloom effect of the sword from the light2d effect so when the sword is shining the light doesn't have to (im doing something similar with a lightsaber and candles but the lightsaber is getting really bright when near the candles and I need them to be on different layers somehow). if you can read this, please do a video on that or at least answer me here with a comment :(
@DrBlort
@DrBlort 8 ай бұрын
Great example, thank you!
@kongb7480
@kongb7480 8 ай бұрын
thank you very much, I didn't think this problem could be solved so easily
@Drippy_Flippy
@Drippy_Flippy 8 ай бұрын
it keeps spamming UnassignedReferenceException: The variable rotateAround of PlayerRotation has not been assigned. You probably need to assign the rotateAround variable of the PlayerRotation script in the inspector. UnityEngine.Transform.get_position () (at <c5ed782439084ef1bc2ad85eec89e9fe>:0) PlayerRotation.Update () (at Assets/Scripts/PlayerRotation.cs:16) in the console but my code is working. I already assigned the variable, but it says it didn't.
@guitarcoversua3925
@guitarcoversua3925 8 ай бұрын
Finally someone who talks at my speed
@asleepcat
@asleepcat 8 ай бұрын
Can you try to make this compatible with the ''A pathfinding'' project, because no matter how hard I try, I think I'm missing some things, can you please explain in detail how LOS would be compatible with this project, etc.? I won't say things like it's very watchable, but rest assured, I will watch the video until the end, even if it is 10 hours long. pls :'D
@The_Winkelmann
@The_Winkelmann 9 ай бұрын
It works Well but when i Walk to the left and then stop it just looks to the right if you have time Can you help?
@themagicall7370
@themagicall7370 7 ай бұрын
Hello, the following code works for me: float moveX = Input.GetAxisRaw("Horizontal"); if (moveX < 0){ spriteRenderer.flipX = true; } else if (moveX > 0) { spriteRenderer.flipX = false; }
@Kenon-
@Kenon- 5 ай бұрын
@@themagicall7370 yeah this works for me too
@12371eric
@12371eric 3 ай бұрын
This is because the rigidbody has inertia. To avoid this, only flip the sprite if horizontal movement is being input by the player, and ignore the inertia value of the rigidbody. float horizontalMovement = Input.GetAxis("Horizontal"); if (horizontalMovement != 0) { spriteRenderer.flipX = horizontalMovement < 0; }
@petitcoke
@petitcoke 9 ай бұрын
How would i do this in 3D?
@GiangNguyen-ho5st
@GiangNguyen-ho5st 10 ай бұрын
Is it possible to make it so that when the player is out of sight, the enemy would still run to the last seen position to look for the player?
@AlanMathew-r6n
@AlanMathew-r6n 10 ай бұрын
I tried what you said, but the inspector is not showing the thing that I published
@PouyanZ3
@PouyanZ3 10 ай бұрын
thank u so much brother
@Atoll.s
@Atoll.s 11 ай бұрын
Very nice guide!
@gbaierski
@gbaierski 11 ай бұрын
Thanks mate!
@sandeshsg5337
@sandeshsg5337 11 ай бұрын
I get "Install failed: Validation Failed" as soon as the editor starts installing , i tried running it as admin , i turned off my windows firewall, i am not using VPN , I set the UAC to low , i have literally tried all the solutions on stack overflow , still no luck. I have uninstalled and reinstalled like 26 times, PLEASE SEND HELP
@STATIC-LB
@STATIC-LB 11 ай бұрын
i had the same problem i thibk you went on the wrong website and i belive its a hacker or melacious FAKE version of unity and Due to the firewall the hacker wasent able to get acces to your computer