Rotating an already rotated object.
I have an object thats rotated so its facing down towards the ground. The object itself is rotating around a planet, like the moon in orbit, so the rotation is fixed around. Im trying to make it so...
View Articlefixed rotation around object
![alt text][1] [1]: /storage/temp/20455-untitled-1.png What Im trying to do is this, I have a spotlight that rotates around the Player according to where the mouse is. The top down rotation works with...
View Articleshader that includes texture, normal, and depth map
Im currently looking for a shader that will include all of these textures on the object. the object itself is semi-transparent, so if there's something that handles that as well then kudos. But Im...
View Articleadding cloud animation to light
So I have a Point light, Im wanting to have it get the effect of a fire. Pretty much the light varys in all directions, brightness adjusts, etc. I was thinking of having a mask sort of thing ontop of...
View ArticleDynamic Navigational Mesh
So im looking to have a system when the area where the AI can travel changes in size. It starts out small and grows to a large area it can travel in. In the expanding area there is going to be static...
View ArticleRandom.Range(..) not working
So Im trying to generate a random number from the size of a List. I checked to make sure my function was obtainning to Count of the List, however the Random Generator just doesn't want to give me a...
View ArticleList not storing objects
So right now Im having a event that when triggered, should add that collided object into a List of the object holding the trigger. However, later when i call a function to try and use this List its...
View ArticleList Problem
So I have function that simply is suppose to add stuff to it however when i test it after in the function im getting a null object?!?!?!? Please help!! from the log i get null then 121. public List...
View ArticleProblem with List
So Im calling a function in a class called PathNode, of an instantiated object. I later then call that same class but a different function that sets a value from that list. However im testing the count...
View ArticleList in prefab instantiated object not saving after Awake
So im instantiating a prefab with a script attached to it. inside the prefab script it holds a List variable. right now Im testing to figure out what the problem is, but what seems to be happening is...
View ArticlePhysics.OverlapSphere not giving proper coordinates
So Im trying to use Physics.OverlapSphere to get a set of objects around the object with the attached script. when testing its showing their locations to be exactly the same, I cant figure out why,...
View Articleusing Raycast to detect collision
So i have an object im wanting to move till it reaches the object. I tried checking if the coordinates match but that didnt work. So i decided to use a raycast since the moving object is moving in one...
View Articleinstantiating a cube so a side is parallel with a Vector
Im looking to have a cube adjust its side in the same direction as a vector in my scene. I was wondering if anyone knows a good place to start with this. the main thing im having trouble figuring out...
View Articleusing a Mesh Volume for AI
So in my game right now, im having boxes spawn dynamically to create routes an AI can travel in. Im trying to figure out a good way i could use these to create a pathfinding technique. please help.
View ArticleResizing multiple GUI Textures to remain together
So the problem im facing is that I am using a GUITexture to display a background image. Then in front of that Im using a different GUITexture to display the button images. I managed to get it so i can...
View ArticleParticle system drifting to a dynamic point
Im looking to have a particle system spawn and all the particles move to a specific point in the world that is moving. Im alittle confused how i might be able to do this, if any of you have any help on...
View ArticleChecking for idle hover using tooltips
So I recently started using tooltips to detect when the mouse hovers over a GUI.Button to play a sound. I have it so it works when you hover over the button it fires the sound, but if the mouse stays...
View Articlecustom GUI that supports post processing
Hey, so i recently bought https://www.assetstore.unity3d.com/#/content/3842 and Im trying to have those effect work on my GUI. I know it wasn't working because of the order Rendering is happening,...
View ArticleDrag and Drop in Inspector
So Im looking to have a custom area in my inspector i can simply drag and drop objects in. When it is dropped in Im wanting to save that data in a new class within a list and have it so i can adjust...
View ArticleNull Reference from Custom Editor
So Ive been getting null errors on the SoundObj In the DropAreaGUI function in the SoundInspector Class. Im unsure what im doing wrong, but even if i try and play it all the data gets wiped away and im...
View Articlehow can I create a new Object from custom Editor
So Im trying to have it so when I drag a object in a box in the inspector it Creates a new SoundObj, then adds that object to the SoundManager's Sounds list. In the inspector Im wanting it to show all...
View ArticleFMOD Channels in Unity
So I'm trying to create a Master Volume using FMOD in Unity. My initial thought was to use a channel however in the unity plugin version Im not seeing Channels that I can use. I looked around and im...
View ArticleLOS Rotation with constant width
I have a basic scene right now with two objects, spheres just for now. One is going to be the AI while the other the player. Im trying to check if the AI is in LOS of the Player. If the AI is, im...
View ArticleRotating an Object with Touch and drag
I have a scene with a object in it, I want to be able to touch on the screen and when I drag in a direction it rotates the object in place In that same direction. Giving the effect that you can have...
View ArticleFacebook SDK reloggin
Im trying to allow the user to relogin using the auth token I stored on their previous login call. The main issue Im having is everytime a login happens at the moment it pops up a window saying they...
View Articledouble click console not working when using dll
So I managed to have the console print out items from a dll that act as Debug.Log. The problem now is in the console if I try double clicking the entry, nothing happens. Any help would be very much...
View Article.dll Null Reference when used
I made a .dll to hold a script reference. When I use it in editor it works as intended with no errors. But when I try on device I get null references. The weird part of it is that I can see some of the...
View ArticleGetting GameCenter picture URL instead of Texture2D
Im using http://docs.unity3d.com/ScriptReference/SocialPlatforms.GameCenter.GameCenterPlatform.html in my project right now and Im trying to store the users picture on my server as a url instead of...
View ArticleDifferent Cell Sizes for Scrollview
Im looking for a way to have different size items inside a scrollview in uGUI. Currently Im using a Gridlayout to contain the items, but the size appears constant for every item. Was wondering If...
View ArticleViewing other processes while debugging in unity
The App im working on keeps crashing. I put breakpoints where the call i make starts happens. I went all the way through and completed everything but right after it exits out of the function, while...
View Article