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

Help!!! with rain indie with fps control!!!

Hi, I have been following the tornado twins series on rain indie. They don't have a part 6 however which leaves me wondering if there ever going to make it. I really need this for the game challenge. I...

View Article


Blood on weapon.

Hi, I couldnt find any questions about this so: Let's imagine that you have a game where you can hit enemies with blunt weapons like a club or whatever another blunt weapon. So, now if player hits...

View Article


Rigidbody Enemy and Collisions

Ok, I'm making a platformer game. My enemies have rigidbodys attached to them. I'm directly controlling their velocity by accessing the rigidbody.velocity component. The problem is, when I have them...

View Article

spaceship 3D game enemy spawn concept

Am looking to for a concept to spawn enemies in a random position on screen. My game is a 3D space ship game where the player can yaw,strafe move around the 3d environment. However I have created a...

View Article

LookAt without Y axis

i have this on my enemy AI script: transform.LookAt(Vector3(target.position.x, transform.position.y, target.position.z)); i wrote transform.position.y instead of target.position.y to make the enemy...

View Article


Instantiating bullet every few seconds problem!

I have a problem in instantiating the bullet for every few seconds. I have achieved this effect with player control. When I press key down each time the bullet is been called. But how to automate this...

View Article

Hit enemy life

this is the part of the bullet code that take enemy life: rayAim = Camera.mainCamera.ScreenPointToRay(new Vector3(Screen.width/2, Screen.height/2, 0)); if(Physics.Raycast(rayAim, out hit, range)) {...

View Article

Enemy AI problem. Please help!!!

public float timeBetweenShots = 5.0f; public float bulletLifeTime = 10.0f; public bool shoot = true; public float lifeTime = 5.0f; public Rigidbody Enemybullet; public Transform muzzlepoint; public...

View Article


DetectSphere - No physics

I have this problem: My player spawns alot of bullets and these bullets need to detect if they've hit an enemy. I've tried to use a method where I filter the closest enemy out of an array of all the...

View Article


How can I ground enemies and use target transform?

Hello game developers, I have a question. I have an enemy character that is targeting my player character and when it follows me the enemy is floating like a ghost. my question is can somebody explain...

View Article

How To Make Enemy Chase You?

Do you guys know how to make enemy chase player (**with walk animation**) Is it possible to make walk animations and loop it in Unity? Or I need to make animations using other program?

View Article

AI attacking help.

I want my enemy to attack once he reaches the max distance. I tried several ways, but it is not working. I also tried to make him stop moving once the sprite.IsAnimationPlaying("death") is played, but...

View Article

Player Pushes Enemies. (That's bad)

So, I have some rigidbody enemies. They use a rigidbody.MovePosition to move. The problem is this, when the character runs into the players, the velocity from the character is transferred to the enemy...

View Article


Change enemy color when hit

Hi, this is my enemy: Enemy1 (gameobject with rigidbody, collider, AI scripts etc) -> Armature (child1) -> the mesh (skinned mesh renderer & material) (child2) so the question is... how i can...

View Article

Enemy Appear And Chase After We Go Into Trigger

Do you guys know how to make enemy appear and chase us after player go into trigger (area) Enemy AI script I'm using (attached to monster) This monster has an animation var target : Transform; var...

View Article


Player Die When Hit By Enemy

Do you guys know how to make player die (turn to death scene) when player hit by enemy?

View Article

How do I make an enemy recoil when hit?

I'm making a 2D platformer for Android and want to give the user some visual feedback that they've hit an enemy successfully. What I have so far in semi-psuedo code (attached to the enemy) is this:...

View Article


how can i set target(gameobject) from string(name)

im trying to set a target from a string or perhaps another way to set target when it loads in game heres my enemy attack script so far the target im looking for is a gameobject my player character when...

View Article

2 in 1 question - Enemy transforms and Frames per second

Question 1 : I have a simple AI Script that makes an enemy move towards a player . The player is defined as a transform variable in the script v ar Distance; var Target : Transform; var lookAtDistance...

View Article

Change something in this script

Hey Guys, like my name, i'm brazilian :p so i don't speak english so good ( I'm not using google translator).Sorry if I wrong something. anyway i want to change somethings in this script : var cube :...

View Article
Browsing all 1488 articles
Browse latest View live


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