Quantcast
Channel: Questions in topic: "enemy"
Browsing all 1488 articles
Browse latest View live
↧

Need help with tower defense win level system,need help with tower defense...

when all the enemies of that last wave are killed I want the level to transition to the next level. Right now as soon as the last wave has all spawned in it transition into level 2. I keep on getting...

View Article


Enemy AI passing through walls

Though I have some tutorials and answers regarding enemy passing through walls but still didn't get it how to stop it? And so now I am attaching scripts. I know something should be added around the...

View Article


find the exact point on which a projectile will hit enemy

Hey everybody. I was just wondering if there is anyway to find the exact point on which a projectile will hit the enemy (head, lung, or other parts). In my game the enemies are far far away so the...

View Article

NullReferenceException: Instatiate with construtor OR in Inspector

Hey Comm-unity, i am currently working on a TowerDefense Game and want to implement an infinite level. I have a WaveSpawner with public HeaderVariables in which in can drag and drop Prefabs(Enemies)...

View Article

Enemy collisions

hi i am making a call of duty zombie game for fun. but i have a problem with the zombies collisions. they cant move close to eachother and because of that they get stuck on doors etc. i cant find any...

View Article


3D enemy pathfinding over moving platform

Hello world of Unity. I need some help. I'm trying to build a subway game where the player has to get to their train. The main obstacles are other riders. I think I have the pathfinding on static...

View Article

Hi guys, I am trying to make my enemy to chess the player when he enter in to...

using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyMovementController : MonoBehaviour { public float enemySpeed; Animator enemyAnimator; //facing public...

View Article

Asset spit fire but is no longer working, but when i check the backups it...

I have an enemy that spits fire but it's not killing the player. ive checked my backups and it is working perfectly on them. I have compared the backups to the current version and everything is in the...

View Article


enabling text only working for one enemy

Hey there! This is my first time posting here so I apologize but I couldn't find the answer so Hopefully someone knows what is going on. basically I'm making a turn based RPG for fun and currently have...

View Article


How do i stop my enemy from not colliding?

So my enemy has a Box Collider on but it goes through my character. The collider is set to isTrigger but that doesnt seem to affect it. Could someone please tell me how to make my eney touch me rather...

View Article

How to make bullet decals move with moving object?

I want to be able to shoot things like the enemies and have the bullet decals appear on them, and when the enemies move I don't want the decals to just be floating in the air, which they currently do....

View Article

how to make enemy slow down and speed up? (P.V.Z)

how would you make an enemy speed up and slow down, plants versus zombies style? im just wondering for a project, any thoughts???

View Article

sprite changes z position without any input to do so

im making a 2d platformer and i have a patrolling enemy but for some reason he changes z position even though i didn't say to and it makes his z position behind the camera so he doesn't render heres...

View Article


Enemy AI script only works for one enemy.

I'm using a script that tells enemies to chase my player character. Problem is, only the first enemy I encounter chases me down - the rest don't move at all when I get into a certain distance of...

View Article

Track only closest enemy transform

How can I achive that I'm only targeting the closest enemy? Even better would be to "loose" the target if the target comes to close to the player. Jumping on the next target in range, if there is any....

View Article


How do I set specific animations to an enemy so that it attacks the player?

Hello, I have just started using Unity and I am making my first game for which I will need a bit of your help. I am making a 2D game in which I created the background, ground, player, player...

View Article

2D How to get enemy to face the player while moving

So this is for a top-down action RPG kind of like Zelda, and I've got 4 separate animations for the enemy to face depending on which direction they're moving. I'm trying to get the enemy to follow the...

View Article


how can I set the destination of the nav mesh for multiple objects

help me !!!!!!!

View Article

How to make a moving enemy's eye to follow player?

I'm making a game where there are spinning spike spheres which have one eye on the middle as you see in the picture down below. And I want the eye look at the player all the time. I already have some...

View Article

How to find the direction to translate an object, to move towards a point,...

I have two objects. A and B. A moves around freely (A player.) B is an object which simply moves around based on a 'movement vector" , that is, a "horizontal" and "vertical" vector (NOT one fed in by...

View Article
Browsing all 1488 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>