Тёмный

SHOOTING/FOLLOW/RETREAT ENEMY AI WITH UNITY AND C# - EASY TUTORIAL 

Blackthornprod
Подписаться 538 тыс.
Просмотров 253 тыс.
50% 1

Welcome to BlackthornProd !
In this tutorial I will bring you through the process of bringing to life an enemy that moves towards a certain target, stops when he is near enough, shoots and retreats !
All will be done using the Unity game engine and the C# programming language !
Here is the link to more AI video : • AI TUTORIALS WITH UNIT...

Игры

Опубликовано:

 

27 дек 2017

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 660   
@Reilly18
@Reilly18 3 года назад
this is the most intense unity tutorial I have ever watched
@xdmcreamysickalien9067
@xdmcreamysickalien9067 3 года назад
so now i’m gonna put this PERFECT MADE RED CUBE IN MY PROJECT!!!...
@andresherrerasashidbis5533
@andresherrerasashidbis5533 3 года назад
I can feel his enegery trhough my screen
@maaz_dev
@maaz_dev 3 года назад
The nasty little square also shoots little bullet at our inoccent circle
@thiagoeli6658
@thiagoeli6658 2 года назад
InstaBlaster...
@aokisea
@aokisea 6 лет назад
DUDE YOUR TUTORIALS ARE SO EASY TO LEARN! THANKS A LOT. MOST TUTORIALS ON RU-vid ARE QUITE COMPLICATED FOR ME. BUT YOUR'S IS JUST SO WELL MADE THAT EVEN SHIT LIKE ME CAN UNDERSTAND IT! THANKS SO MUCH!!!!!!
@Blackthornprod
@Blackthornprod 6 лет назад
Thanks !! I'm delighted to hear that my tutorials have helped you :) ! Many, many more are coming up so stay tuned !
@aokisea
@aokisea 6 лет назад
Blackthornprod Woooooow. I cant believe you actually noticd me! I really like your videos sir. its really helpin me out. If its ok. Can you make more tutorials about ai?
@lhenardabraham9068
@lhenardabraham9068 5 лет назад
"SHIT LIKE ME" HAHAHAHA I FEEL YOU BRO
@jahmaijones6331
@jahmaijones6331 5 лет назад
@@lhenardabraham9068 That made me LOL hard!! haha
@edreactsto1493
@edreactsto1493 4 года назад
Im more shitter than you that i couldn't understand it in first time watching 😢. Gotta watch it a few more times and start writing the code on my computer to learn it
@danivalentine1280
@danivalentine1280 4 года назад
Spent around 2 minutes trying to figure out what the heck a "project tile" was. Haha, great tutorial man, making my first fully finished game, a mini space shooter, and this helped out alot. You and Brackys are awesome.
@monkeyrobotsinc.9875
@monkeyrobotsinc.9875 3 года назад
lmao.
@payalshah3968
@payalshah3968 2 года назад
ya
@korodev3415
@korodev3415 3 года назад
THANK YOU. I’m currently participating in my first game jam, and I needed this ._. Pog
@harshshah8772
@harshshah8772 4 года назад
damn after combing your previous video about top down shooting and combining it with the screen shake video and this my game has reached new heights. Thank you too much for these amazing tutorials.
@theemeraldfalcon9184
@theemeraldfalcon9184 5 лет назад
for anyone doing this in 3d, here is the modified script: using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyBehavior : MonoBehaviour { public float speed; public float stoppingDistance; public float retreatDistance; public GameObject bullet; public Transform player; private float timeBtwShots; public float startTimeBtwShots; // Start is called before the first frame update void Start() { player = GameObject.FindGameObjectWithTag("Player").transform; timeBtwShots = startTimeBtwShots; } // Update is called once per frame void Update() { if (Vector3.Distance(transform.position, player.position) > stoppingDistance) { transform.position = Vector3.MoveTowards(transform.position, player.position, speed * Time.deltaTime); } else if (Vector3.Distance(transform.position, player.position) < stoppingDistance && Vector3.Distance(transform.position, player.position) > retreatDistance) { transform.position = this.transform.position; } else if (Vector3.Distance(transform.position, player.position) < retreatDistance) { transform.position = Vector3.MoveTowards(transform.position, player.position, -speed * Time.deltaTime); } if (timeBtwShots
@vonstudios2028
@vonstudios2028 4 года назад
thank you bro
@b.c.5618
@b.c.5618 4 года назад
legend
@CRUMVIII
@CRUMVIII 4 года назад
Oh nice. Thank you. Was just thinking about how to apply this in 3D. -b
@kalempster
@kalempster 4 года назад
ye just use vector 3 and add z axis everywhere
@Husmanmusic
@Husmanmusic 3 года назад
Legend!
@thetoastedmarshmallow1606
@thetoastedmarshmallow1606 6 лет назад
At first I thought is tutorial was going to be hard to understand because I've never done c# or any other form of coding except scratch. Except for the past 3 days. But scratch actually helps me understand the else if statements and stuff but it's actually really simple to understand! Great job. I'm going to try this later.
@DawnosaurDev
@DawnosaurDev 6 лет назад
Could you make a video on A* Pathfinding or any other method on 2D Pathfinding? There are very few Up to Date Videos on RU-vid. Thanks hope you like the suggestion.
@aaravjain9461
@aaravjain9461 4 года назад
Look at brackeys tutorial
@renishadesra7336
@renishadesra7336 4 года назад
The clarity, simplicity and straight forward approach in the tutorial shows that you are someone who has made many games! Thanks for sharing your knowledge.
@minecraftmadlad3593
@minecraftmadlad3593 4 года назад
Does this work for you? It won't let me put .transform at the end of the player find tag gameobject bit
@renishadesra7336
@renishadesra7336 4 года назад
MinecraftMadlad yes it did work for me, just check the spelling and capitalisation once. If not Let me know I’ll give the script that worked for me
@minecraftmadlad3593
@minecraftmadlad3593 4 года назад
@@renishadesra7336 no it's alright thanks, I just stole the full 3d designed script from that other comment lol
@plabfishchowder8314
@plabfishchowder8314 2 года назад
I highly enjoy these videos, you and a few others are the reason why I've wanted to make video games
@ParasBansal10
@ParasBansal10 3 года назад
I was simling the whole time I was watching this. It was so intense. It felt like I was watching a conspiricy theory. Amazing tutorial BTW.
@Oxmond
@Oxmond 4 года назад
Cool! Really nice beginner shooting game in just 12 min! Well done! 👍🤓
@foreducation408
@foreducation408 2 года назад
you are awesome dude, thanks for keeping things simple and easy to understand.
@regrettisouls9574
@regrettisouls9574 5 лет назад
love your videos, you should do a 2d grappling hook tutorial
@h3rnaldo
@h3rnaldo 3 года назад
Oh man, this is gold. Thank you for sharing!
@pranjaljoshi6454
@pranjaljoshi6454 6 лет назад
You are awesome bro ,the way you present your video tutorials is awesome and you even reply to almost every comment to help them it's something i really appreciate. I wish you become more successful than you can even imagine😊😊
@themightyjinglesaj2522
@themightyjinglesaj2522 6 лет назад
Yay! Thx for this. I implemented this in 3d and it worked just great. This video encouraged me to be creative with my code. Thx a lot.
@chakashakur5186
@chakashakur5186 6 лет назад
Your vids are forever awesomely. Please never stop😊
@soufianebenamer7585
@soufianebenamer7585 4 года назад
Thank you We miss your awsome tutorials
@GabrielFerreira-ot8cg
@GabrielFerreira-ot8cg 4 года назад
Love your tutorials! I can easily adapt the code into my game!
@user-hi9dd4dl9q
@user-hi9dd4dl9q 4 года назад
Dude, You have inspired me to continue with my indie games. Thank you so much
@derpzzzstudio5983
@derpzzzstudio5983 3 года назад
How is the progress?
@Mynnt
@Mynnt 3 года назад
This tutortial is really good! I actually made a better version (in my opinion) of the movement. public GameObject target; float distance; public float speed; void Update() { distance = Vector3.Distance(gameObject.transform.position, target.transform.position) - 6.5f; (higher = enemy stays farther away, can be anything) speed = distance; transform.position = Vector2.MoveTowards(transform.position, target.transform.position, speed * Time.deltaTime); } This makes it so that the enemy speeds up depending on how far away the player is form the enemy.
@solidlucho1
@solidlucho1 4 года назад
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Enemyshooting : MonoBehaviour { public float speed; public float stoppingDistance; public float retreaDistance; private float timeBtwShots; public float startTimeBtwShots; public Transform player; public GameObject projectile; // Start is called before the first frame update void Start() { player = GameObject.FindGameObjectWithTag("Player").transform; timeBtwShots = startTimeBtwShots; } // Update is called once per frame void Update() { if(Vector2.Distance(transform.position, player.position) > stoppingDistance) { transform.position = Vector2.MoveTowards(transform.position, player.position, speed * Time.deltaTime); } else if(Vector2.Distance(transform.position, player.position) > stoppingDistance && Vector2.Distance(transform.position, player.position) > retreaDistance) { transform.position = this.transform.position; } else if (Vector2.Distance(transform.position, player.position) > retreaDistance) { transform.position = Vector2.MoveTowards(transform.position, player.position, -speed * Time.deltaTime); } if(timeBtwShots
@noellekkar903
@noellekkar903 4 года назад
Soooo underrated
@devastatingninja8361
@devastatingninja8361 4 года назад
He should pin it
@devastatingninja8361
@devastatingninja8361 4 года назад
@@DopEZTam check the program name
@devastatingninja8361
@devastatingninja8361 4 года назад
@@DopEZTam OK... Well nice videos... Which game is that in ur yt
@devastatingninja8361
@devastatingninja8361 4 года назад
@@DopEZTam oh ...can we play in phone?
@rezwansaki
@rezwansaki 5 лет назад
Awesome Tutorial. Thanks for this. :)
@NACOSFOREVER
@NACOSFOREVER 5 лет назад
OMG! my AI is alive!! Thank you blackthorn!
@redhood7105
@redhood7105 6 лет назад
Wow...RU-vid suggested your channel. Very cool videos so far. Keep it up mate!
@Blackthornprod
@Blackthornprod 6 лет назад
Hey :) ! Thanks man that is awesome to hear ! I definitely intend to keep it up !
@liammelnick5919
@liammelnick5919 4 года назад
Exactly what I was looking for. Thanks.
@tomiselma
@tomiselma 6 лет назад
Very good tutorial. And i've seen a lot of them. Thank you!
@Blackthornprod
@Blackthornprod 6 лет назад
Thanks tomiselma :) !!
@johnpaulmontessori3424
@johnpaulmontessori3424 6 лет назад
Great videos man, you deserved my like.
@quimerico
@quimerico 3 года назад
Awesome tutorial, dude! Thanks!
@PemburuEgo
@PemburuEgo 4 года назад
i use this to make turret.Thanks Noa!
@gerardkris146
@gerardkris146 6 лет назад
nice tutorial, ill make this a base for my work. thank you!
@YasserSedrati
@YasserSedrati 6 лет назад
great video 👏 can you do special 👌 tuto about particular effect 😊 (add (specification place) change ...)
@thinkernest2844
@thinkernest2844 6 лет назад
you should continue doing tutorials! loved it
@garrytalaroc
@garrytalaroc 4 года назад
Man I love your enthusiasm
@danucleardude7443
@danucleardude7443 5 лет назад
I LOVE YOUR ART STYLE!!!
@jcarbon3008
@jcarbon3008 5 лет назад
bruv..its just squares and circles lol
@Jermz0r
@Jermz0r 6 лет назад
really easy to keep up with and actually good codes keep em coming mate!
@siddeshmetrani9969
@siddeshmetrani9969 4 года назад
Hi, This is very nice video for player followed by enemy. I would like to understand the canon rotating in direction of player's position Regards Siddesh Metrani
@tobiasmercader8091
@tobiasmercader8091 3 года назад
this video is old but thank you, you helped me whit a problem i had for 3-4 consecutive days.
@jsonzu3277
@jsonzu3277 4 года назад
I like the figures that you've drawn
@fc6827
@fc6827 3 года назад
Thank you so much for these.
@-halogenic-7263
@-halogenic-7263 3 года назад
This is so helpful for game jams!
@Rayan-bk3fn
@Rayan-bk3fn 3 года назад
Loved the video you explain well!
@ultraslay7635
@ultraslay7635 4 года назад
You are awesome.your tutorial are really very easy and helpful.thankyou so much keep making your tutorial. I want a tutorial how to spawn enemies.please
@theyearofrupert
@theyearofrupert 5 лет назад
@Blackthornprod Awesome Videos. For faster prototyping you can right click inside Assets and Select Create > Sprites to make basic shapes.
@mindterror2054
@mindterror2054 4 года назад
Thanks man your frickin awesome and dont deny it
@yunusmile
@yunusmile 3 года назад
finally a tutorial i understood, subscribed, i am hoping to make a farming survival monster breeding game, if you can make any tutorial about those that would be great
@deg4882
@deg4882 2 года назад
Thanks! is very very cool, i search this code for all's pages!
@venomtailOG
@venomtailOG 5 лет назад
Nice but wished it showed an option of the projectile still following after it reaches the targeted position
@dragneeladhoo6023
@dragneeladhoo6023 4 года назад
Its easy, just put the "target = ......" code which is located at *start* into the *update* , so that _player.location_ is always updated, not Set. Note: to anyone who might have the same question
@keremaslan1988
@keremaslan1988 4 года назад
@@dragneeladhoo6023 it didnt work
@dragneeladhoo6023
@dragneeladhoo6023 4 года назад
@@keremaslan1988 you could try this amd check... public class HomingMissile : MonoBehaviour{ public Transform target; public Rigidbody2D rigidBody; public float angleChangingSpeed; public float movementSpeed; void FixedUpdate () { Vector2 direction = (Vector2)target.position - rb.position; direction.Normalize (); float rotateAmount = Vector3.Cross (direction, transform.up).z; rigidBody.angularVelocity = -angleChangingSpeed * rotateAmount; rigidBody.velocity = transform.up * movementSpeed; }}
@dragneeladhoo6023
@dragneeladhoo6023 4 года назад
Hope you can make it work. It works for me.
@sohaybalnajjar4968
@sohaybalnajjar4968 4 года назад
I think you can use the rigidbody of the projectile and add force ..
@joaosantos45
@joaosantos45 6 лет назад
Very Very Very good... Thank you.. great video
@payalshah3968
@payalshah3968 2 года назад
you are great small videos and neat explanation thanks
@JonqsSimulationsOfficial
@JonqsSimulationsOfficial 4 года назад
thank you I had some problems but I fixed it!
@letmedoit.
@letmedoit. 4 года назад
Sir your way of explaining is just Really really awesome 👍 love from INDIA
@kent_s
@kent_s 5 лет назад
How do you shoot the bullet in the direction instead of just the position? Meaning the bullet continues ahead after passing through the target position?
@dreamingacacia
@dreamingacacia 5 лет назад
I develop 3D game, it's Vector3.forward. I think it'll be Vector2.forward ?
@foreversleepy4379
@foreversleepy4379 5 лет назад
By having a velocity vector and adding it to the position of the projectile every frame, so that it will just carry on into the distance, but in the initial direction of the player.
@pipun8862
@pipun8862 5 лет назад
@@foreversleepy4379 Any Idea on how to do this with the code we have here?
@lunalikestuna333
@lunalikestuna333 5 лет назад
this is really easy thank you!
@waterfallbw
@waterfallbw 4 года назад
Is there a way to make it so the enemy collides with other objects? Currently my enemy moves through everything, even though there is a collider on all objects. I believe it is because we're using MoveTorwards so Unity ignores collisions.
@maxikurschner423
@maxikurschner423 6 лет назад
Well done! Keep it up!
@valentinkadushkin324
@valentinkadushkin324 3 года назад
How can i make projectiles go further than current player position. In platformer it looks just like proejctiles are stuck en players previous location. How can i make them go further (in the same direction that they were flying)?
@razakhan651
@razakhan651 4 года назад
If you see that your enemy is shaking or vibrating constantly, you probably just need to set the stopping and retreat distance to not be equal (if they are already). Mine were both at 5 so I just changed the stopping distance to 5.2.
@dreambyte_studio
@dreambyte_studio 2 года назад
Dude, thk you!!!!!
@Spider-Man_12345
@Spider-Man_12345 Год назад
Ik this is a really old comment and you probably forgot about this at this point but is there explanation for why it shakes given other numbers?
@mirandahernandez6030
@mirandahernandez6030 Год назад
Awesome Tutorial
@javaexpertsa8947
@javaexpertsa8947 6 лет назад
Please make even more Videos. I have watched the first video from you today and your code style is like mine. Short and not complicated. Already subscirbed and liked the Video. You deserve it. Can you make some Videos about 2D Character Design, i would love that. :)!!!
@umpteenthreason9627
@umpteenthreason9627 4 года назад
I'm gonna try to use this for an escort mission kind of code, i think it will work well when i remove the shooting part. Thanks!
@lothar6323
@lothar6323 2 года назад
Thanks for tutorial!
@cruising84
@cruising84 4 года назад
In the beginning, it sounds like you are talking to Conan who are about to go for a epic quest or something, easy now xD
@lapwingfilms
@lapwingfilms 6 лет назад
thanks for the tutorial. My enemy only shoots when it retreats and it wont stop following the player. how do I Fix this?
@dennisclement1058
@dennisclement1058 5 лет назад
hello.... i encounter a little problems in this video. in unity when i want to add projectiles in references, shots : its says missing (Game Object), and i cant add anything to it. can someone help me?? what to do?
@laurlore11
@laurlore11 5 лет назад
Instead of writing player = GameObject.FindGameObjectWithTag(“Player”) can’t I just assign it in the inspector?
@miloverreijt6396
@miloverreijt6396 5 лет назад
?
@rockogames245
@rockogames245 5 лет назад
It's not assigning it it's looking for something with the tag and you have to assign it in the inspector. If you don't type the script won't work.
@OwlTeaGames
@OwlTeaGames 4 года назад
I assume you'd have more than one enemy, so your best bet would be to make a Prefab of an enemy in which you can swap out sprites, movement, and shooting methods by using a few nifty bools. However, your Player exists in the hierarchy. Objects from the Hierarchy cannot be dragged into Prefabs. When you're looking at a prefab, that prefab kinda *is* the hierarchy. And your actual game scene hierarchy is inaccessible! Blocked! Okay, you say, well, I'll just make my Player into a prefab, and then drag it from the Prefabs folder into the slot in the Enemy Prefab... Well, that's fine, but the prefab Player is not the same as the Player in the Hierarchy, so it won't work. Even if you instantiate the Player, the Prefab you put into that public slot is what's being called, not the Prefab currently used in the scene. Why? Dunno. It just is. It's weird, so that's why we use tags.
@pacmanprogramador1971
@pacmanprogramador1971 4 года назад
when I have not found an answer for a while, this person arrives and solves it in 12.54 seconds
@diliupg
@diliupg 4 года назад
He uses Black magic. When he was small his mother prodded him with a black thorn.
@mehtabahmed4694
@mehtabahmed4694 3 года назад
Quick tip if you want to Destroy a game object after a few seconds then just specify the time by doing Destroy(gameObject, write the time here)
@zaaron9586
@zaaron9586 5 лет назад
Please could you help me? When i don't move the Player, the Enemy stops moving and The Player gets despawned. I am greeted with this error in console: The object of type 'Transform' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object.
@reynielmahinay7028
@reynielmahinay7028 Год назад
Great video!
@leodoescrap879
@leodoescrap879 4 года назад
how would this work for a platformer game? Because there are platforms in between the player and the enemy, and the enemy spazzes out when I'm under or above them
@timtrollgasm
@timtrollgasm Год назад
Does much need to be change in order for this to work properly in 3D? I copied the tutorial but I get behind the enemy it starts shooting behind him and not at the player
@yashchaudhari7601
@yashchaudhari7601 5 лет назад
How to implement Particle Effect ! I tried a lot but it's not working, particle system is Instantiated at (0,0,0) and not destroying.
@ggboygg2606
@ggboygg2606 3 года назад
I have a problem, the enemy is just following another object and idk why. It does not have the tag player
@Disthron
@Disthron 4 года назад
Hey man, this is a really cool tutorial, but you don't mention how to get the bullet to keep going past the player's position? Could you tell me how this might be done?
@bungercolumbus
@bungercolumbus 4 года назад
@@noelmidenimstad6573 no. this will make the bullet miss the player. You need to instantly add a force to the bullet which will make it move to the point where the player stood when the bullet was instantiated.
@rachh6500
@rachh6500 4 года назад
@@bungercolumbus help how do i do this
@sophielin5669
@sophielin5669 4 года назад
how would you do this in a platformer (aka without using movetowards)? my enemy keeps vibrating
@cools7uff
@cools7uff 2 года назад
Is there a way to do this with rigidbodys because when I tried to do that the enemy would slow down when near the player but when I use transform my enemies are launched off the screen when I shoot them
@sturmente
@sturmente 4 года назад
Nice Tutorial dude
@DerVampyrEngel
@DerVampyrEngel 6 лет назад
Can this be done with player and enemies on a sphere? And where can I download this project please?
@Husmanmusic
@Husmanmusic 3 года назад
This is soo great!
@degasazi6737
@degasazi6737 3 года назад
I need some help, the projectile of the enemy, when it reaches the position of the player, it will just destroy and not continue, even when the player isnt there also, if I put the "player = " code form the start, to the update, the projectile will always follow the player no matter what, until it hits him. what I need is that the projectile follows a straight line and never destroys it's self until it hits a wall or the player
@fruytdev
@fruytdev 2 года назад
@@ItsAssasin Cannot implicitly convert type 'UnityEngine.Transform' to 'UnityEngine.Vector2 'Vector2' does not contain a definition for 'position' and no accessible extension method 'position' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference? I got with this Method 2 errors, pls help
@bharadwajn.k9185
@bharadwajn.k9185 3 года назад
So help full. Thank you
@kevinandreselorzacortes3324
@kevinandreselorzacortes3324 8 месяцев назад
Hey man! How can I make the bullet to keep going straight instead of just let it die after reaching the Player coordinates??? If anyone know PLEASE let me know
@user-vn7bg7nj8l
@user-vn7bg7nj8l 9 месяцев назад
I have a question. How to make enemy AI same as enemy in the bomberman game. thanks a lot
@abdelazizetaib9305
@abdelazizetaib9305 4 года назад
please i want the projectile to go forward without rotation when i try to shot up or down the projectile turn
@brober2
@brober2 4 года назад
I have an error NullReferenceException: Object reference not set to an instance of an object Ruch.Start () (at Assets/Scripts/Ruch.cs:25)
@hypermuffin84
@hypermuffin84 2 года назад
This is amazing code, thanks.
@fastpicker89
@fastpicker89 5 лет назад
Transform.position ignores colliders. How would you do this if you wanted enemies to go around walls?
@GodsofOdds
@GodsofOdds 4 года назад
How would I add a range variable to this? I only want them to be able to hit me when I'm within a certain range, I'm also doing for a 3D character.
@awaylee7549
@awaylee7549 4 года назад
you can use Destroy(gameobject, 4) so it will get destroyed after 4 sec, Or put a sphere collider around the shooter put it on trigger and destroy the bullet whenever it get out of it
@OwlTeaGames
@OwlTeaGames 5 лет назад
Awesome tutorial! What if we just want an enemy that spins and shoots? Like a wounded ship, flying off into space, the lasers spinning around everywhere? I keep trying, but they just shoot down.
@MrMikhaelJackson
@MrMikhaelJackson Год назад
When he is retreating and I lead him to a wall and they both have colliders but the enemy clips through the wall, other than that great tutorial!
@cgenner7604
@cgenner7604 2 года назад
How can you make the bullet continue past the player.x & player.y instead of stopping at that location?
@xxxx9131
@xxxx9131 3 года назад
I have a question, if it is ten different camps of AI, then what method will be used?
@dragonballz3686
@dragonballz3686 2 года назад
Bro, I am making a 2d top down space shooter. There is a problem in shooting system, that is , when enemy is shooting and I shoot, then the player's bullet is colliding with enemy bullet and the player's bullet is destroyed but the enemies bullet is not destroyed. Can you tell me what to do to make the both bullets passing away without any collision.
@bruh3608
@bruh3608 3 года назад
Everything is working fine, but the projectile doesnt register a hit for me if the player collides with it at any other point than the point at which the target was placed, how do i fix this?
@RajeevKumar-kq3ob
@RajeevKumar-kq3ob 5 лет назад
Could you please make a complete series on top down 3d shooter. Please
@Exisss
@Exisss 4 года назад
Can someone help, i want to use same code, but i want then enemy projectile gets to players pos. i want that projectile doesnt explode, but goes away ( idk how to say, just like player combat, projectile destroys on trigger, or after some time)
@edjonhadley1
@edjonhadley1 4 года назад
for some reason when i put { after retreatdistance on line 23 it comes up with an error.
@dstmayne2593
@dstmayne2593 4 года назад
You never dissapoint me :D
@vedrane0
@vedrane0 3 года назад
Wow That was really cool
@jamescraft5300
@jamescraft5300 3 года назад
Wow that was really cool
Далее
PATROL AI WITH UNITY AND C# - EASY TUTORIAL
9:29
Просмотров 154 тыс.
5 DEVS Make a GAME without COMMUNICATING! (FPS edition)
19:10
3 DEVS Make a Horror Game in 3 GAME ENGINES!
15:35
Просмотров 464 тыс.
AI Learns How To Play Doodle Jump
12:02
Просмотров 18 тыс.
How to Make a Good 2D Camera
11:38
Просмотров 393 тыс.
How to code SMARTER A.I. enemies | Unity Tutorial
32:49
How to Code (almost) Any Feature
9:48
Просмотров 669 тыс.
How I Made a 3D Platformer in 2D Game Engine
21:23
Просмотров 455 тыс.
ПОЛНЫЙ РЕАЛИЗМ в UBOAT 2024.1
47:02
Просмотров 138 тыс.
DOTA 2 - МЕТА
20:39
Просмотров 275 тыс.
ЛУЧШИЕ ШИПЫ в БРАВЛ СТАРС💘
13:46