Game doesn't move to next scene on Ouya
Hello everyone, Well, after months of developing my game, hundreds of hours of playtesting, coding, bugtesting, fixing, and then porting to Android I thought I'd still have some hurdles, but not the...
View ArticleBigger matrix?
Hi, I'm new to matrix and I was looking into it because I would need one but all I could find was a 4x4. My use for a matrix would be storing the amount of slots a ship has for every weapon class from...
View Articlehow do I draw on a Sprite with the mouse?
I wish to display an image with a simple black and white picture and have the user then "draw" with touch or mouse over the image in an attempt to replicate it and the game will then do different...
View ArticleMove multiple objects relative to another objects movement
I am trying to put together a little script that that moves multiple objects relative to another objects movements. These objects are not grouped to the "parent" object, and are not using the parenting...
View ArticleCycle gameobject on touch
Im lost. I know this is a noob question but could not find the answer .so here it goes i hope anyone can help. I need to make a gameobject that changes on touch to another gameobject then on touch to...
View ArticleWebPlayer Build not working, no error message
I'm following the process described here: https://docs.unity3d.com/Documentation/Manual/PublishingBuilds.html I have one scene in the build list, ID 0, and it's checked. Platform is set to "Web...
View ArticleMecanim wrapMode
How can I play an animation backward from the Mecanim studio. I see some examples in the older format, but animation.wrapMode = WrapMode.ClampForever; doesn't work in conjunction with animation.speed =...
View ArticleProjectile firing at wrong height
I've been trying to get an enemy to fire a projectile from a spawn point, and while it's firing in the right direction and at the right speed, the height is way off and I don't know what's causing the...
View ArticleHow do you make the game change zones?
I'm trying to figure out how to make a trigger event so that my player "zones" into a new area at the edge of one area. I am a 3d artist and have no clue how to achieve this. Any help is appreciated....
View ArticleWhat is more efficient, Checking distance or using a collider trigger?
I have some objects that I want to set to inactive when they are so far from my character, is it better to have a large box collider to tell when they are far enough away or should I write an if...
View ArticleBlender -Applying textures to "seperate" but parented objects
I currently have an object in blender that consists of a handle and a blade for a sword. I need to easily animate them so i made the blade parented to the handle. This works perfectly fine until I need...
View ArticleRigid body, Ragdoll, or Mesh Collider as character controller
What I want is a collider for each part of the body of the character that moves, or a Mesh collider. Is it possible to replace the character controller with a Rigid body, Mesh collider or ragdoll, to...
View ArticleUnable to access any JS from within my C#
I am trying to acces the unity "image effects" scripts from withing my main c# script. all Js scripts are inside my Assets/Plugins folder my C# script is inside my Assets/GameName/Stuff folder . I have...
View ArticleUnity2D Instantiated Prefab Won't Appear in Scene
In our game, we have a prefab we want to insert into the scene in a C# script. It works fine when dragged and dropped into the script, but when we use this code: GameObject prefab = Resources.Load...
View ArticleHow to change diection to up of a scrolling background
I have a scrolling background how do I make it change directions. Im using: var ScrollSpeed : float = 0.5; function Update () { var offset : float = Time.time * ScrollSpeed;...
View ArticleForce Application to Quit in Android
I am having trouble quitting my Application in Android when Admob returns an ad too slow, it waits till ad return then quit which sometimes can be 10~20 sec wait. Is there a way I can force quit my...
View ArticleI am trying to fix my character from jumping forever....
So, I just got Unity today, and I have this much figured out: #pragma strict var moveLeft : KeyCode; var moveRight : KeyCode; var jump: KeyCode; var speed_x : float; var speed_y : float; function...
View ArticleKeyNotFoundException: The given key was not present in the dictionary?
So i got rid of a punch of plug ins , and now i can build my game properly , but i cant enter play mode because this comes up : KeyNotFoundException: The given key was not present in the dictionary....
View ArticleWhy does making a GameObject a Prefab give it a BoxCollider component?
When I take a game object with several children and drag it into the Resources folder to make it a prefab, why does Unity give it a BoxCollider component? Is there a way to change this (default) behavior?
View ArticleCan attributes modify runtime behaviour
I discovered attributes in the form of the range attribute. I thought it would restrict the value of an int, but when I try to add to the number to the point where it gets bigger than the max it just...
View Article