A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Thanks a lot for that! :)
I can't get it to end the game when the charge meter reaches 0. using UnityEngine; using System.Collections; public class Charge : MonoBehaviour...
How would I create a hunger bar that would go from 0-100 in a matter of like 1 minute?
Thanks for the code. It had a few basic errors. nothing that I couldn't fix. What would I put in the prefabs?
How would I go about using raycasting to know when the enemy runs into an object and get it to avoid it?
I just redid the triggers and script and it works perfectly. Now to find out how to make the enemy follow the player
Those are the screenshots (ignore the pause.s thing) Edit: It does not work :P
[IMG] [IMG] [IMG]
Yeah, I have both the Enemy and the Player having a trigger and a Rigid Body.
Yeah, I did all the sphere collider stuff and the is trigger stuff. My code is like this: void OnTriggerEnter (Collider other) {...
So, I've tried to get it to work a ton of times attempting to use the sphere trigger and I cannot get it to work. I seem to be having a problem...
So, would I attach that code to a empty game object? or how would I go about doing that? Sorry, I'm sort of a noob to coding
So, I followed this tutorial but theres one problem. My game has a moving camera and this tutorial only spawns the objects on one spot (as opposed...
Thanks!
Thanks for the response, ill give the tutorial a go!
I really have no idea how I would put that into code.
So, im creating a game where I need to have objects spawn on the right side of the screen at random points of the Y-Axis then fly to the left to...
Thank you very much!
Would using the Raycast for this be easier?