Help with enemy Shooting
Hello! I just need help with my Enemies. The bullet only facing a certain direction. I made an empty game object, and added the script to it. I put the game object as a child to the enemy. No matter...
View ArticleCan someone plz tell me we're the old enemy models are like the ones in...
Other vids with this model are: My bad fps part 1 (by chromefxffilms) My bad fps part 2 (by chromefxffilms)
View ArticlePhoton Syncing Enemies with Other Clients?
Ok So I have Navmesh Agents that Locals move and the AI-Code operate fine. as soon as I implement a Photon Sync code: public Vector3 realPosition = Vector3.zero; public Vector3 positionAtLastPacket =...
View Articleenemies Scoring points killed
Hello, how can I make a score for each killed enemy? I tried to follow this guide: https://unity3d.com/learn/tutorials/projects/survival-shooter-tutorial/scoring-points But can not I :( In my code I...
View ArticleHow to make an enemy pace?
Hey guys so I am making my first 2D platformer and it is now time to add some bad guys to the map. How would I make an enemy that simply walks left and right by itself while also playing the two...
View ArticleHow can i change the scale of the enemy?
IEnumerator Patrol() { while (true){ if (transform.position.x == patrolpoints [currentPoint].position.x) { currentPoint++; anim.SetBool ("walking", false); yield return new WaitForSeconds (timestill);...
View ArticleHow can i pause all object in my game ? Why Coroutine cannot pause using...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SimpleEnemy : MonoBehaviour { public Transform[] patrolpoints; int currentPoint; public float speed=0.05f;...
View ArticleAccess a instantiated gameobject from a enemy spawner
Hey guys I am stuck on a issue. Okay I have two scripts a enemy health script and a spawner script. They are very basic however I am running into a issue that has to do with the enemy is being...
View ArticleEnemy movement barrier
Hi guys, I'm new to all this so please excuse my ignorance! I am using a modified version of the survival shooter tutorial for my dissertation. I've successfully built the game but need to expand the...
View ArticleI have a model character of terrorist how can in make to animated and come...
I made a FPS game in which recently the zombies are enemy but we decided to change the theme now the enemy are terrorist so how can i made the character model of terrorist and put there animation which...
View ArticleEnemy stops when player on higher place
Hello all. I am making a simple 3D shooter as tutorial project. I create an enemy, and add to it a NavMeshAgent and standart AI Character Control script, then set player as target to AI Character...
View ArticleHow to have an enemy spawn a certain distance behind the player
When a door opens, I want there to be a chance that an enemy will spawn behind the player, and while I can get the enemy to spawn, they usually do so beneath the map. I vaguely know what I need but...
View Articleenemy bullet doesnt move
okay so, i'm preparing my finals and i've come across this one thing that wont work i dont know how to fix. the thing is i have made a prefab for the bullet, i have added the collider and when i was...
View Articlei want to add fire shot at enemy gun explosion
How can i add fire Explosion at enemy gun while shooting enemy to the player
View ArticleBullets not killing Enemy
I'm working on a VR shooter which involves shooting enemies with a gun. However the bullets are not detecting collision with my enemy game objects. My bullet script is: void OnCollisionEnter(Collision...
View ArticleArray out of range
Hi everyone, I did a script. Basically, it must allow AI(enemy) to follow a path through waypoint system but when I start the game, I have the error, Array out of range. I know what this mean but I...
View ArticleHow do I have multiple AI that follow the player but don't move into each other?
I am creating a top down 2D game that uses a AI system so my enemies (skeletons) follow the player. I already have the code set up to follow the player, and it does so successfully, but the AI ignores...
View ArticleHow to stop enemy following the player
Hi guys! Can someone help me please with my script? How to stop enemy when player is on some distance from him? And how to make him going when player is near enemy? Here is the code and now enemy stop...
View ArticleHow to script a enemy so that he shoots the player when he is within a...
I am beginner to Unity(3d). I am making a game where the enemy chases the player and when he is within a certain radius, say 2, he needs to shoot the player(In all co-ordinates[x,y,z]). How to script...
View Article