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.
Post your code. Add this to your code: function Start() { debug.Log(roundTime); } Tell me what the debug result is.
This should work. var startTime = 30.0; var minutes : int = 0; var seconds : int = 20; var fraction : int = 0; function Update () {...
That'd be awesome!
No. That's the first thing I tried. It doesn't behave itself very well.
I tried that. Here's how I fixed it. I made a cylinder in 3ds max with it's origin at one end of the cylinder instead of using the unity3d...
Small bump.
you don't really have to calculate it. transform.lookAt(positionOfTargetGoesHere); Points the missile at the target. then you can either...
I have a tank. On my tank is a turret. Attached to the turret is a cannon. If I attach both the turret and the cannon directly to the...
That is pretty strange, maybe someone else has an idea?
Yeah, that's why you should use PlayOneShot(), it'll play one iteration of the audio clip completely, then end.
I'm the same, game development is a cruel (but rewarding) mistress. I was working on a 3d space flight game, but I abandoned it in the early...
Are you working in 3d or 2d? You can use Transform.LookAt to rotate your object towards the position of the mouse, and then use...
it could be that there is a comment making it's way onto a line without a comment marker ("//"). Let me look at it when I get home.
change the function GoHere to this: function GoHere(X,Y) { //Move toward X,Y; } Sorry, I don't javascript very often.
Are you using transform.forward to translate the ball? Or are you physically moving it on an axis? Can I see your code?
Good question, I think this might work. var DoubleClickTime = 0.5; var SingleClick = false; function Update() {...
You might be interested in this, then. It looks fairly straightforward, but again, instead of using a projectile, why not use the particle...
Making a first person shooter is mathematically intense process. It's much simpler to raycast an imaginary bullet at the time of the mouse being...
Mass place 1 tree first, then try placing them.
I think you might be going about it the wrong way. You might want to try the FPS tutorial; it might help you grasp the more abstract ideas in the...