Комментарии:
nice tutorial, checking if something is NOT true can be done like this: if( !variable )
ОтветитьI would like to adapt this to a 3D scenario. Would this also work with a sphere Collider and normal Rigidbody?
ОтветитьGetClosest enemy searches all enemies with the tag...not just ones in the radius...thats still rly expensive. can we add to a list and only search ones that have contact?
ОтветитьI am getin the cs0029 error
Ответитьthx
ОтветитьI have different enemy with different tags,how I would approach this scenerio
Ответитьif i put the collider in my character child, how can i acces it, if the ontrigger method are in my character parent?
ОтветитьThis was very helpful, I found very similar code while searching for this problem but couldn't figure out the way to implement it bc of a lack of array experience, appreciate the work!
ОтветитьEnemies*
ОтветитьGreat vid! After a many links and videos i finally find you, and code work!)
ОтветитьThanks a lot bro, this is very awesome video!!!
How to do it with lerp?(I need that 1 of resurses spawned with tag"Wood"(They all have tag Wood) doing lerp, just 1 of them to my character, another one prefab (Wood) stay on the same transfrom until 1 of them lerping to character)
good video I recommend watching in 1.5x speed he talks a little slow
Ответитьhow to tab for change target? tks
Ответить<3
ОтветитьHow could I make it so none of them can render a line except for the closest one?
ОтветитьThanks so much for explaining all this!!! Been trying to figure this out for days!
Ответитьgetting a "Not all code paths return a value" error. Pretty sure I have the code in as you do - any idea what the stupid thing I'm doing is?
Ответитьsimple and straight forward - nice tutorial :p
ОтветитьThis helped so much, also, thank you very much for explaining each part of the code and why it's needed, much appreciated! <3
ОтветитьThank you soooo freaking much you helped me a lot really
Ответить