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.
Oh, wow. That worked! Thanks! What was the reason it wasn't working before? I was looking at the Unity documentation on performance optimization...
I cached "MissilePosition = transform.position" in "Start()" so I wouldn't need to do the component lookup every frame.
One of the games I'm working on to get a feel for Unity is a Missile Command game. One where the player would be able to click on the screen to...
Thanks a lot! Now to get the missiles to correctly destroy.
How would I get it to access "missileDeathLoc" variable in the script that's on the camera? I thought "GetComponent" does that job. P.S. I...
The Controls script is currently attached to the camera which correctly spawns the missiles at the correct places. Why would I put the controls on...
I have a Missile Command game in development for one of my classes but I'm getting this error "Null Reference Exception: Object reference not set...
I'm fairly new to coding for the Unity GUI so bear with me. I read that for any GUI element that you put your code in the "OnGUI()" method for...
Does Unity 3.0 fully support Visual Studio 2010 as a script editor? I selected Visual Studio 2010 as my script editor of choice under preferences...
I am. I use the public static vars so I can access the public variables like this: TrafficDriving.currentSpeed . Is this the wrong way to go about...
Currently in my project I have some traffic vehicles that move around the city like normal. They would hit special trigger areas which represent...
First a little background on what I'm trying to do. At the moment I got my traffic moving towards a destination and once they reach the...
Oh I just figured it out. So long as the script is applied to one Object and not the root parent object it works fine. What would cause it to not...
That still gives me the same result. I'm trying to have that cube and sphere (which represent a vehicle) in the back to point towards the...
Yeah, it shows the target set as the Transform. Here's the script in question.
For some reason when I put a target in for the LookAt() function it doesn't look at my target. I've looked at several examples online about the...
I've looked through some vehicle tutorials before on this site and others that use some pretty advanced vehicle physics. My game doesn't require...