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

Network enemy spotting

Hi! I making network tank game, and i have confused now with enemy spotting. Now if tank prefab is not mine and its not in my team, linecast check if i can see him, and if i can, draw marker above...

View Article


I need help making my drone shoot

So I made a game for a school project and I liked it so much that I decided to continue working on it and I want to make different enemies for each level and I am having problems making my drone shoot...

View Article


Enemy ragdoll

I'm trying to turn an enemy into a ragdoll when he dies, I already have an enemy gameObject and a gameObject of a ragdolled version. How would I "replace" the enemy with the ragdoll in a way that it...

View Article

Idle , Move and Attack animations

I want the enemy to idle , follow , and attack the player . The thing is I want the enemy to use it's move animation when following the player , and use the attack animation when the player is in...

View Article

Hey, im trying to include a cooldown for my enemy attack. At the moment when...

using UnityEngine; using System.Collections; public class EnemyTrigger : MonoBehaviour { public float weaponDamage; private float AttackTime; private float attackcd = 20; private bool canAttack =...

View Article


LocalPosition change affecting actual Position?

I have an enemy object that constantly follows the player using A*. I wanted to add a little shake to it for the feedback for an electric weapon to give the impression they were just "shocked." So I...

View Article

Fix for Enemy AI script

So, I'm making a 3rd person shooter. I have this script for the Enemy AI which is attached to all enemy characters. The problem is they either all shoot at me fast at once, and kill me instantly. Or,...

View Article

ENEMY STAYS HALF BELOW THE GROUND HALF ABOVE

when I start my game the enemy stays half below the ground and half above LIKE THIS ![alt text][1] [1]: /storage/temp/65520-capture-opt.png help PLZ

View Article


I need the Nav Mesh Stop , I need the Animation to Play Javascript

I am almost done setting up my enemy ai . The only thing I need is the nav mesh to stop and play one more animation . I can set the nav mesh to stop in the inspector . When I trying to code it getting...

View Article


When enemy dies the script loses object reference.

So I'm working on a little FPS and right now I have one enemy. When I kill that enemy it says "Object reference not set to an instance of the object. This is the area of code that the error is...

View Article

My enemy cube moves through walls

Hi, I am a beginner at using unity and after doing the roll-a-ball tutorial I decided I am making a platformer project using the movement concept from the tutorial. I have gotten to the point where I...

View Article

My Code freezes Unity - not sure what to do...

I'm working on a horror game project and have the following problem: As soon as the player enters a specific zone, he triggers an enemy spawner, which should spawn only 1(!) enemy that hunts the player...

View Article

OnTriggerEnter2D with multiple objects

So right now I am trying to make it so the player can't shoot until the enemy enters the trigger point and if the gameobject tag with enemy is in the trigger point then canshoot = true if not then...

View Article


Trouble making jumping spider enemies

I'm trying to make a jumping spider enemy for a side-scrolling 2D game. I want the enemy to jump, wait, then jump again. the scripting that I have put together causes the spiders to float away instead....

View Article

Character continues moving when locked onto an enemy

Ok so here's my issue, I have a script that allows me to lock on to and orbit an enemy target. The problem is if my character is moving when pressing the lock on button the character will continue...

View Article


ENEMY STAYS HALF BELOW THE GROUND HALF ABOVE

when I start my game the enemy stays half below the ground and half above LIKE THIS ![alt text][1] [1]: /storage/temp/66243-z.png plzzzzzzzzzz help!!

View Article

My enemy ai won't stay on the ground help please

I am having a problem with my enemy ai . Whenever I click on play the enemy ai go in the air move toward the player ' when the player is in distance. I also have some animations attach to the enemy ai...

View Article


My GameObject remains inGame but is destroyed in the editor (no GameObject on...

An enemy is spawned after trigger is activated, he then rushes towards the player and the camera focuses its gaze on it. After destroying everything works fine, except the **GameObject** (which is...

View Article

simple waypoint system enemy wave spawner

I can't get the enemies (gameObjects) to delete. I've tried setting them up to delete if they collided with a preset destroyer box beneath the game screen and I've tried to have them destroy themselves...

View Article

need help with making an enemybase script. I need help with the enemy...

using UnityEngine; using System.Collections; public class EnemyBase : MonoBehaviour { public Transform Player; public Transform myEnemy; public float rotationSpeed = 3f; protected float speed; void...

View Article
Browsing all 1488 articles
Browse latest View live


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