Quantcast
Channel: Latest Questions on Unity Answers
Browsing all 171066 articles
Browse latest View live
↧

A*Pathfinding not following path?

As the title suggests I'm going through the tutorial located [HERE][1] to get A*Pathfinding working. It does work in that I can get an object to move however it doesn't follow the path entirely...

View Article


Two objects BOTH with Destroy(other.gameObject) aren't destroying each other??

possibly a newby question here, but.. i've got two bullet objects that, when they hit eachother, won't destroy each other... both have rigidbodies and colliders, one with a tag check,one without any...

View Article


Drag&Drop function not working?

The Drag&Drop function has been working fine for the last few days, and I have been able to close and reopen Unity fine without any problem, but now for some reason I can't use it? I searched...

View Article

Mechanim Head bone Issue

What is the issue. how can i fix it. ![alt text][1] [1]: http://s21.postimg.org/q178yax6f/Head.jpg

View Article

Could not preload global game manager #0

Hi, Exactly which file(s) of my associated data are causing this problem? I can tell you that the problem is NOT with the executable. Let me stress again that the problem is NOT with the executable. I...

View Article


About Display 2 Cameras for S3D function....

Experts~ In my project, i set double-camera for stereoscopic 3d ,and i would like to capture image seq. of both camera. however, when i play the game, the game view only display one camera view but not...

View Article

why does my computer crash?

hi like the title says my computer keeps on crashing when i use unity for more or less 5 minutes. i was following this tutorial ( http://active.tutsplus.com/tutorials/unity/getting-started-with-unity/...

View Article

Fade an object in and out

Hi everyone. I have a script that when the player presses the RendererOnOff button which is e, objects tagged with Player will change material and when e is released it will go back. Objects tagged...

View Article


Negative Eular angles.

I have a turret that I am rotating using transform.eulerAngles = Vector3.Lerp(...); I am using a timer that tells it when to rotate the opposite way. This is the Rotate Code. mainAssembly.eulerAngles =...

View Article


How can I add a normal to a text mesh so that it lights correctly?

Hello. I'm using a text mesh to place text on a 3D object, but as you all know, the text mesh does not have any normals... http://docs.unity3d.com/Documentation/Components/class-TextMesh.html ...so it...

View Article

Play VideoTexture's audio only

I have a video with an audio track. In one situation, I don't need to play the video, just the audio. So I'm trying to play the audio track that is associated with it. If I make a normal AudioSource...

View Article

C# Capture Keypress

So I'm making an rpg random Battle system an i would love o have my char enter a battle after walking so much my code is `using UnityEngine; using System.Collections; public class Battle :...

View Article

Regenerating lives whilst app is closed for iOS

I have an iOS game where the player regenerates 1 life every 10 minutes. This works fine whilst playing the game, but how can I make it regenerate when the app is closed on the iPhone? This is my...

View Article


How can I add a normal to a text mesh so that it lights correctly?

Hello. I'm using a text mesh to place text on a 3D object, but as you all know, the text mesh does not have any normals... http://docs.unity3d.com/Documentation/Components/class-TextMesh.html ...so it...

View Article

How can I load System.CodeDom.CodeCompileUnit?

Hey All, I am trying to use the System.CodeDom to compile some code dynamically. I have an external DLL that handles all the CodeDom related code, and I am referencing that in my Unity project....

View Article


mirror object based on parent transform

I have two spheres, children of an empty parent object. I am moving one object and want the other to follow the movement in reverse. This is working based on world coordinate - how to I make it work...

View Article

Draw "Blip" on Minimap?

I'm looking at changing my minimap implementation because I don't like it at all, I'm probably going to move to a static image as our maps are not big enough to warrant a rendertexture or anything like...

View Article


How to check if something is in radius then lerp to it? Thanks

I have already started this but it doesnt work. What I want is a capsule collider around me and when a specific object is in the object, I will move to that objects position. How do I do that? Please...

View Article

Iphone 4 build is crashing.

I have three scenes for iphone4, iphone5 and ipad. While building from xcode iphone5 and ipad buil is working fine but iphone4 build is crashing, What may be the problem?

View Article

Making elevator stop at triggers

I'm trying to make an elevator stop at different triggers I've set up to act as floors. However, not matter what I do with my code, the elevator passes through (despite me setting the "Is Trigger"...

View Article
Browsing all 171066 articles
Browse latest View live


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