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

Enemy navmesh avoidance

How can i make the enemy avoid high climbs but be able to come down, because if the player try to climb it could not have speed and it will get stuck, but i want that him can come down if he is over a...

View Article


Detect if player is in range?

Trying to detect if the play is within range of the enemy for a simple AI script. It's been a while since i last coded so I am suffering memory loss lol. I tried OnCollisionEnter, OnTriggerEnter, but...

View Article


Detect if player is in range?

Trying to detect if the play is within range of the enemy for a simple AI script. It's been a while since i last coded so I am suffering memory loss lol. I tried OnCollisionEnter, OnTriggerEnter, but...

View Article

Spaceshooter enemy spawning problem

Hi Unity answers. I am trying to make a space shooter but i cant get the enmy to spawn. i have checked my script through so many times but i can not find the problem. here is my script. using...

View Article

My enemy character is not appearing in game view.

This is my first game project. I just made my first enemy and he appears fine in the scene view, but he is invisible in game view. I can still shoot at him, and he is clearly there but he is not...

View Article


How to make enemy avoid others enemies with navmesh? And enemy ai problem.

I would like tha the enemies avoid each others when following the player. And is there any way i can stop enemy from climb but allow them to get down. Because my enemy don't have much speed to climb...

View Article

I need help creating a ZombieAI for my Walking Dead Game

I want the zombie ai that would go after the sound of a gunshot and not follow the player and I want it to go after the player when the player is in the zombies field of view. I also want the zombie to...

View Article

Need help, enemy ai's animation show run-time error and doesnt chase player

Please read and help. I'm still newbie in this, and I dont know how to modelling yet, so I asked my friend to create a snake with animation in it. Then he created, but it just the chase animation....

View Article


zombie enemy AI

Im a complete noob at unity, I want to make a zombie game. My problem is I dont know anything about scripting. The only skill I have is 3d modeling. I use blender and i can model zombies. I need help...

View Article


player and enemy layers not interacting

In my project I have then when the player and enemy collide through a front check trigger the player automatically attacks the enemy and plays a swinging motion. However, I placed them both at the...

View Article

I am trying to get my Boss character to shoot a laser when the player enters...

I am trying to get my Boss character to shoot a laser when the player enters a trigger that is attached to the boss. Right now when I enter this trigger it does nothing and I am not sure why. This is...

View Article

How to make Enemy AI and Health

Hey, I have a school project that I have nearly finished, I've completed the world and just need my enemy. My overall goal for now is to complete my enemy and give my player health so that I can be...

View Article

How to write a script to destroy enemy once player circles around

I made a spaceship that has a trail renderer which makes it seem like it dispenses a line. I want the enemy to be destroyed once the spaceship fully circles the enemy using the line. How would i go...

View Article


Enemy Cube going through walls.

I've been making a game and recently I lost a lot of work so have been rebuilding. However for some reason the enemy cubes now goes straight through the map to get to me, rather than navigating it....

View Article

Unexpected symbol `}', expecting `;' and else

I actually have a lot of problem over here. I'm quite sure I'm doing this right: using UnityEngine; using System.Collections; using System.Collections.Generic; public class Targetting : MonoBehaviour {...

View Article


Enemy Follow AI problem

I made an enemyAI script to look at my car and always go ahead at a certain speed. For this i used the motorTorque and the LookAt(). But the problem is, if my character is not at the same level (plain)...

View Article

Want to make a following enemy freeze when visible by main camera

Hi, I'm creating a game, and I have an enemy that at the moment follows my character (main camera) but I want it to stop moving (freeze) when it is visible by the main camera, I also want it to start...

View Article


How to spawn a 'boss' after all enemies defeated and then kill that 'boss'?

Hi all, I only have basic ability with Unity and cannot figure out the answer to what looks like a simple question. I have three enemies in my level, and would like to spawn a 'boss' once they're...

View Article

Enemies not rotating properly towards the player - Javascript

Recently I was able to fix the implementation of enemies flying/turning towards the player. However, the issue that I'm having with this is that they are rotating and flying at a weird way so that...

View Article

can anyone please help with enemy wave spawn?

hi i designed a wave spawn script for my 2d side scroll-er the issue i am receiving that i have realised is that my script does not add to the enemies alive value and wen they die it doesn't decrease...

View Article
Browsing all 1488 articles
Browse latest View live


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