3rd Person Camera help (C#)
I'm trying to make a 3rd person camera that will move up towards the character instead of going through walls. The code I have works pretty well, except for one thing. I have invisible cubes around the...
View ArticleHow do i initialize only once for a scene?
hi guys, i have my level one scene, and it initialize some GUI on screen, and when i head over to level two scene, the GUI stays there, but if i go back to level one scene, it creates another GUI which...
View ArticleC# list bug using addRange after call toString method only on unity ios
I found a strange behavior when using list addRange method after call the toString method; here is the test code: using UnityEngine; using System.Collections; using System.Collections.Generic; using...
View ArticleHow expensive is Overlapsphere than a few raycastings?
Hi All, That's the basic question, But if anyone has teh inclination to read teh background.. here it is.. My starting point is the 3rd person controller from 3dbuzz tutorials, with a lot of my own...
View ArticleParkour type game
I want to create a first person parkour game, but I have no clue how to do so, I've been messing with unityscript and many tutorial on youtube and such, but I want to make a game that is mine, not a...
View ArticleMy inventory system only picks up one item when there are several
I spent hours writing this Inventory script and I'm sure there are easier ways to do it. I'm using a trigger on both the player and the "bandage" item. it works flawlessly until I try to pick up...
View ArticleAI pause and attack a player in c# (script included)
Hi all, Just need a little help understanding how I should be doing this. Currently, I have a prototype where I have a set of waypoints in my script for an AI object to move along. At some point when a...
View ArticleBuy License after publish
Is it possible to make a game in unity free (android) sell it on the market and if the game succeeds in making some money (more than the max 100.00/per year with unity free) buy the license so i can...
View ArticleObject following you?
I have a script: function Update(){ var targ = GameObject("Player"); transform.position = Vector3.MoveTowards(transform.position, targ.transform.position, .03); } But this only works for 5 seconds. it...
View ArticleHow do I render a scene's depth buffer when I have custom vertex shaders?
Hi, I have a Unity scene, and for some of my effects I'd like to create a depth buffer of my scene. I'd even like transparent objects to (optionally) write into this depth buffer. My main problem is...
View ArticleUnity Animation Problem
After I exported animation to Maya as FBX file to Unity, my mesh always started from the last frame instead of first frame while the animation is not playing. Is it the problem with the export settings...
View ArticleCan't play animations using multiple model files
I imported several fbx files 1. player.fbx (simple T pose with bat) 2. player@shot1.fbx (animation) 3. player@shot2.fbx (animation) In rig settings, I selected animation type - Legacy. When I drag a...
View ArticleCan you affect a texture with another texture?
What I'm looking to do it to randomly place a white square someplace on a black texture, and where they overlap, have those pixels bumped up one step towards white in color. Is there a way to...
View ArticleHow to make a ball that can roll?
In my game, the player is a first person controller. The player can also place soccer balls on the ground. I want it so then when the first person controller collides with the soccer balls, they will...
View ArticleDoes Unity Web Player work for Windows 8?
I just want to know (my other one was destroyed)
View ArticleProblem using system.directoryservices
I am trying to implement an user authentication using active directory. I have already pasted the DirectoryServices.dll found at C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0 but I can not...
View ArticleLight Cookie problem
Hey I need some help with this problem, When ever i put a cookie into the slot where they are ment to be for a Spot light it dosent show the cookie, ive edited the cookie to be transparent but still...
View ArticleWhat environment would you like to see be sell in the Unity Asset store?
I would love to make amazing and unique environment for the unity asset store. There's a lot of great environment there but I want to know what the people need and want! Asset characteristics that are...
View ArticleHow to implement a 3/4 perspective camera
I am trying to implement a camera that will give me a result like this. ![alt text][1] [1]: /storage/temp/13536-final-fantasy-iv-the-complete-collection-screenshots.jpg I am unsure what my rotations...
View ArticleIs there any way to call OnLevelLoaded when loading a scene in editor?
Hey, I need to run some code when I open a scene in the editor. Is there anything similar to OnLevelLoaded that gets called when I do that? Or any workouround to do this would also be appreciated. Thanks.
View Article