No appropriate version of 'UnityEngine.Object.Instantiate'
I'm having a problem with this script: public var enemySpawnLimit : int; // Sets the number of Enemys you wanna spawn at this location public var radiusmax: float; // The radius maximum. private var...
View ArticleAdvice on how to make player crawl
Just wondering where I would start to get my character to crawl say inside a log? i have a model and the mesh is already done for the log he can run around it and jump on top of it but I'm trying to...
View ArticleMake Health appear as text and not texture
Right I followed a Youtube Tutorial and the guy made it so that my AI health appears as a texture, I would like to use this in the future but not right now I want to be able to make my AI HP display as...
View ArticleDrawing Cards from Deck
where would I start about getting a deck of cards to give out 3 cards to the player and then 6 cards for the player to have them in their hands. Ive looked for tut but nothing so far.
View ArticleCar Entering
I'm looking for the best way to make my player get inside the car, i want it so that you disappear into the car and camera changes to the one just above the car but somehow destroys my player until i...
View ArticleBike Control
I've been trying to make a bike which can be used on a skatepark, I followed the car TUT but it seems a little confusing with me only using 2 wheels. I've set wheel coliders and everything but I can't...
View ArticleMaking AI attack (My Script Attached)
Hello I'm trying to make my AI attack me and take damage off me. My script is below. Where would I begin in making this happen. EnemyAtk.js var giveUpThreshold = 20; // distance beyond which AI gives...
View ArticleProblem getting my model to animate once mouse clicked
I have this script which lets me click the mouse and the player will go to wherever it is I have clicked. The problem I'm having is getting the player to animate so say I have a Ídle'and 'Walk'...
View ArticleSprite Stop Animation on different images
I have this code which I want to be able to put the keys to go up when I press the arrow up button and down when i press the arrow down button. I also want to be able to make it so that when I stop...
View Article2d Collision
I have loaded a texture of a room onto a plane I was wondering how I could make colliders where if the player goes near something he can't go through it, I dont undeerstand where to start as its just a...
View ArticleCar not staying grounded
Haven't used this ask thing for ages but I'm having trouble with my car, it goes with Torque but the problem I'm having is when I keep A help down the car starts going forward once it gets to max speed...
View ArticleWhy is left going right, and rights going left
I have used the same model as they said in the Tutorial but when I got left he goes right and when I go right he goes left. Anyone know the solution? #pragma strict public var turnSmoothing : float =...
View ArticleRotating Wrong
when the AI moves towards me it rotates forward for some reason, same as when it sees my player if I move it'll tilt the model forward a little and then when he chases me it doesn't work very well it...
View Articlewhy won't my code work?
//#pragma strict var enemies : Transform[]; var rand; function start () { enemies = GameObject.FindGameObjectsWithTag("Enemy"); transform.LookAt(enemies); } function Update () { LookAtRandomEnemy(); }...
View Article
More Pages to Explore .....