Raycast Hit Distance
I have a target object - literally a target with three hit zones - about 20% of the target is the bull's eye zone, outward another 50 to 70 % is the great hit zone and the rest, towards the rim of the...
View ArticleMagnifying glass -like trick.
Hi there I am not sure how this can be done so I turned to **answers** for some advice. I have a letter (on a texture) with handwriting on it. Basically what I want to do is move a "magnifying glass"...
View ArticleHide default Game Center Achievements UI
I made my own achievements graphics and I would like to hide the default ones. I found this in the GameKit framework: GKAchievementViewController the problem is I don't know how to comment it or if...
View ArticleTimer for repeated action
I have a really nice light bulb with a switch somewhere in the scene that turns the scene into a dark room (using a black texture with alpha). All works just fine. However, I want to implement the...
View ArticleGUI.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 ArticleTimed event Question
I am not sure how to approach this - I have a day/time cycle and the 24 hours cycle is a variable - in my case, 30 minutes; That means night takes 15 minutes, day - 15 minutes. Now, I want to activate...
View ArticleMixamo Call Animation from Script
I have this NPC moving around on the navmesh, I imported it by the book, as well as it's 2 animations, following the tutorials on Mixamo.com. Set up the state machine with the 2 animations plus...
View ArticleInstantiate at position
I am trying to implement a simple throw-stone script and everything works fine But the position of the instantiated projectile. I am using mixamo animation events for this - and I am instantiating a...
View ArticlePlayer prefs iOS
I am trying to create a simple "plane selection" menu using player.prefs but for some reason it doesn't work; In the selection level I have a scroll view with buttons and the following script: Each...
View ArticlePause the Game not the UI Canvas
Scratching my head on this for a few hours now. How do you pause the game without using time scale? That is, to pause everything BUT the menus? Thanks in advance for any pointers!
View ArticleTrouble changing UI Image Sprite
I try to set up a little script so that the player's vehicle of choice remains selected between game sessions. I got this so far, tried to new docs for some examples but couldnt figure it out yet; I am...
View ArticleUpdate Just Once
I can't figure out this, I know it's been answered around a lot, but trying to figure out if an object is alive or not (exists in the scene or not) in order to activate another object if so, I did...
View ArticleCopy 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 ArticleCenter 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 ArticleAudio 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 ArticleRaycast Hit Distance
I have a target object - literally a target with three hit zones - about 20% of the target is the bull's eye zone, outward another 50 to 70 % is the great hit zone and the rest, towards the rim of the...
View ArticleMagnifying glass -like trick.
Hi there I am not sure how this can be done so I turned to **answers** for some advice. I have a letter (on a texture) with handwriting on it. Basically what I want to do is move a "magnifying glass"...
View ArticleHide default Game Center Achievements UI
I made my own achievements graphics and I would like to hide the default ones. I found this in the GameKit framework: GKAchievementViewController the problem is I don't know how to comment it or if...
View ArticleTimer for repeated action
I have a really nice light bulb with a switch somewhere in the scene that turns the scene into a dark room (using a black texture with alpha). All works just fine. However, I want to implement the...
View ArticleGUI.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