Quantcast
Channel: Latest Questions by CallToAdventure
Browsing all 62 articles
Browse latest View live

GUI.depth and Particle Rendering

Hi there I have this fade to black script on the main camera that will create a dark room effect using GUI.depth. My problem is that I want to be able to - while the fade is on and the screen is dark -...

View Article



Facebook login session

I successfully implemented prime 31 plugin however, I am wondering how to keep a user logged in. I don't want him/her to see the login page each time they play. Any ideas? Thanks!

View Article

Application Capture issue

I am using the Facebook composer from iOS 6 with prime 31 plugin and I have a funny issue due to, probably, the size of the image - iPad 3' 2048x1536. Each time I call the composer I also take a...

View Article

Reading Player.prefs

I am trying to change the material of a medal - this is paired to Game Center Achievements; ANd I am using player prefs to show my custom medal (as opposed to the default GC achievement on top); Now -...

View Article

Change www texture every day

I am trying to change the texture of a model every 24 hours. It's like a little story with pages unlocked each day. I figured how to check the day of the week : var url =...

View Article


Check Internet availability

I want to change the red question mark texture applied to a material if the WWW loaded texture failed due to internet / connectivity issue; I am using this : if( Application.internetReachability ==...

View Article

How do you calculate chance

Ok, this sounds ridiculous. But how do you calculate a chance of one in 1 thousand? I want to implement a very rare event.

View Article

Refresh for www images

I have a simple script to load an image from the Internet into a texture. Then, a check function will load a different image from the project with a message like "your device is not connected to the...

View Article


Change material on Object / Raycast

I want to be able to change the material of specific tagged objects; For instance, I have activated a palette of colours and textures that only work on objects with the tag "wood". I don't want to...

View Article


Unity 4x Set.Active warnings

I upgraded to unity 4.0 and I get a lot of warnings and possibly from that, mac appstore validation fails. I am activating/deacivating a couple of game objects with this #pragma strict public var...

View Article

Unity 4.1 Dual Display not working

I found this thatțs suppose to work with two cameras and AppleTv airplay. using UnityEngine; using System.Collections; namespace UnityAssets { public class DualDisplay : MonoBehaviour { public Camera...

View Article

Mac AppStore & Sandbox

It may take a while before Unity will take care of these issues and the building and submission would smooth up a bit. I managed to get one step closer to the submission process. However, one last...

View Article

Change LookAt camera target on Waypoints

I am trying to move a camera along a path but change the target of the camera now and then, for example when I am at a particular waypoint; but i cannot figure out how to get that waypoint in script. I...

View Article


Change materials from arrawy with tag check

Basically the model in the scene has to be simply setup - each part that has a material(s) is tagged and when I click on it it should cycle through the available materials set in the inspector. It...

View Article

Sinus for rolling waves

I got this script on a plane mesh doing some nice rolling waves however it looks a bit too perfect - the "waves" are rolling in one direction only. I'd like to add some noise to it var scale = 10.0;...

View Article


Active in Hierarchy

I am an artist and I can't figure out the new activate/deactivate scripting method for gameObjects. I just can't upgrade to the new method, nothing works. Here's what I have before unity 4.x //This...

View Article

Speed check issue

I am trying to switch between two modes / flight and taxi for an airplane. The problem is I don't want a special key for it. Once the plane speed is over, say, 10, flight mode kicks off. Then, when I...

View Article


Copy Euler Angles

Let me first describe the situation in the game: I have a gameObject with two control types: wheel colliders and steering for a vehicle on the ground behavior and one for flight - with simple physics...

View Article

Center of mass, three wheeled vehicle

I have a 3 wheeled vehicle with the front wheels one size and the back wheel about 30% that size. I played with the center of mass and mass itself a lot jut to be able to stop it from bouncing. As soon...

View Article

Audio Pitch

I have a nice dive effect to which I want to add a pitch value to the sound; my problem is that the pitch is rather sudden - I need a larger fade value when I pitch; here's my code: if(...

View Article
Browsing all 62 articles
Browse latest View live




Latest Images