Quantcast
Channel: Answers by "JusticeAShearing"
Browsing all 63 articles
Browse latest View live

Answer by JusticeAShearing

I have recently been working with instantiatation, and thus have found information on forward thrust on those instantiated objects, because most instantiators are after precisely the same thing as you....

View Article



Answer by JusticeAShearing

I'm not sure what's wrong with that script, but I have an idea nonetheless. Try my script, because it's fully functional with my own character, so by logical extension should work for you....

View Article

Answer by JusticeAShearing

My rotation works perfectly, so if you use my script template, it ought to work for you as well. This script requires a character controller to be attached to the same gameObject. var speed : float =...

View Article

Answer by JusticeAShearing

Your script's syntax is odd, so please make a backup, replace it with my edited version, and tell me if the error is still there. Please complete the edited version, because I have commented a decision...

View Article

Answer by JusticeAShearing

I assume that by 'bump a question' you mean to 'bump it up' to a higher position on the list of questions. If a question has 'activity', it will be bumped to the top. There are several ways to do this....

View Article


Answer by JusticeAShearing

Well, I have a survival sandbox game that has been exported, and it takes up 120.7 megabytes of data. The executable takes 10.7 MB, and the data folder takes 110 MB. The things that really increase...

View Article

Answer by JusticeAShearing

I recommend getting the player rotation at the time of firing, and scripting, at the creation of the bullet object, the rotation to be that of the player. Please try replacing your 'function fire()'...

View Article

Answer by JusticeAShearing

Jeric Miana is right essentially. Your script is fine, but add some sort of collider. I have had problems with a mesh collider not being recognised, so I recommend another type. I once had a similar...

View Article


Answer by JusticeAShearing

1. Write a script for your 3D Text. 2. Add a collider The first thing that you must do is write a simple script for your 3D Text. Remember, do not confuse OnMouseDown with Update. I did that once, and...

View Article


Answer by JusticeAShearing

There is a very good Unity Tutorial series on YouTube which makes such an inventory, and even allows one to add images, text and the number of items that are in that slot. Basic Inventory:...

View Article

Answer by JusticeAShearing

Please allow me to recommend an alternative solution. I have used tree instances in the past, and I have also found it to be more useful to instantiate the tree objects by using a script which finds...

View Article

Answer by JusticeAShearing

I don't know whether or not you instantiate your enemies or have them in an array, or have another method of enemy generation. Therefore, the first thing I will tell you is how to instantiate your...

View Article

Answer by JusticeAShearing

Buttons are often done by GUI Buttons as oppose to game objects. What's more, it's able to be aligned to the screen's aspect ratio! //Private Vars private var MenuOn = false; private var GridValue :...

View Article


Answer by JusticeAShearing

This tutorial involves the importation and use of a custom font, it should be of aid to you. The tutor uses it in his main menu, as a GUI text....

View Article

Answer by JusticeAShearing

You could just make your own movement script like I do, where you control the speeds and such things. var speed : float = 6.0; var jumpSpeed : float = 8.0; var gravity : float = 20.0; var rotateSpeed :...

View Article


Answer by JusticeAShearing

Well, I have found tutorials about shops and money and coins, so maybe you'll find them helpful. Please consult the rest of the playlist if the content is not enough, most points are covered in the...

View Article

Answer by JusticeAShearing

I don't know why, because you haven't shown me your script. However, I have a fully functioning one, so here it is: var speed : float = 6.0; var twiceSpeed : float = 10.0; var jumpSpeed : float = 8.0;...

View Article


Answer by JusticeAShearing

Hmm... bizarre problem. Try my movement script, and take a look at this tutorial which involves range detection, and see if it is any better. I hope that it helps, but I am doubtful, since I've never...

View Article

Answer by JusticeAShearing

I'm not sure how to change your script, since you have a different style to mine. I have a functioning movement script, so I hope that it helps you. If you don't want to use it for whatever reason,...

View Article

Answer by JusticeAShearing

Well, the most I've done in this area is some random loading screens, but I have a more helpful solution. This first tutorial seems to deal with randomization. The function should be able to be changed...

View Article
Browsing all 63 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>