Object-Spawning Script?
I am creating a game which requires trees that can be cut down. The trees are the objects that I want spawned in the world, but it is far too much effort and cluttering-up of the hierarchy window to...
View ArticleHow Can One Collider Recognize Contact With Another?
I paint trees onto the landscape that have colliders, and am finding too much trouble with scripts that spawn trees as gameobjects (therefore the trees can have chopping scripts attached). I do have a...
View ArticleCan an Instance Array Recognize Separately Named Instances?
I have a script that makes an array of instances, but I need it to find separate instances. I doubt that they will ever become gameObjects. However, I have a separate question on that if you have a...
View ArticleInfinite Range, Smooth, Day-Night Cycle
Could somebody please tell me how to implement a day-night cycle with smooth transition that has no limitations placed upon its range. Firstly, I would like the sun and moon to move smoothly across the...
View ArticleAutomatically Aligning A Collider
It would greatly enhance my auto-aligned character-choosing menu if box colliders could be automatically aligned in the same way as my GUI Texture, as oppose to having to code a GUI to select the...
View ArticleWhy Is My Movement Script Only Partially Functional?
In my movement script, coded in C#, the horizontal axis controls are fully recognized and their required actions carried out. However, my vertical axis controls are either ignored or not carried out...
View Article