Quantcast
Channel: Questions in topic: "hits"
Browsing latest articles
Browse All 20 View Live

Trubble with my hit counter.

My Hit Counter when my turrets hit me sometimes goes up in multiples of 2, how would i change the code if need to stop that from happening i have tried everything i can think of and still can't fix it....

View Article



car hits zombies and they die

hi. i'm making a zombie survival game and i need some help. i need to do so that when zombies hit the front side or back side of a car they will die if the car is driving fast enough i thought about...

View Article

Display the number of hits in a gui button when an object/player hits another...

How to display the number of hits in a gui button when an object/player hits another object which is an obstacle in a game?

View Article

Accessing Script that Raycast hit

Hello, I've been at this for hours. I've got a level with a bunch of zombies placed from a prefab. They run around and try and kill the player. The player has a weapon that casts a ray when mouse is...

View Article

How do I make it so my enemy is hit 8 times and is destroyed?

i know there are other posts about this... but i have scoured the internet and have found nothing that solves my problem. i have a bullet prefab that my character shoots with a altered script i used...

View Article


Make an object fly when it hits another

Hello everyone, i have a question. Actually, i think it's kind of a noob question. Nevermind, all of my questions are a little easy to solve. Anyway... I wanted to make a collision system that would...

View Article

"alphaHitTestMinimumThreshold" and "Sprite.Create" Issue

Hello, First thing Try this script: using UnityEngine; using UnityEngine.UI; public class testscript : MonoBehaviour { public Texture2D Tex; void Start () { GetComponent ().sprite = Sprite.Create (Tex,...

View Article
Browsing latest articles
Browse All 20 View Live




Latest Images