My bullet follows my plane...
I have a plane that shoots a bullet in 2d. One is called plane and the other called bullet! That simple! When I hit the space bar the bullet fires. If I hit the space bar and then move the plane the...
View ArticleMy look at script not working?
I have an enemy script I created. All it is suppose to do is make the enemy look at the target. That part works but when I move the target the rotation stays the same. How can I fix this? Here is my...
View ArticleMaking enemy ship fire.
I made an enemy plane that is suppose to shoot bullets at your plane. The enemy plane will Instantiate the bullets and the bullets will move forward but I can not figure out how to make the bullets...
View ArticleHow to import textures
Blender will not import textures to unity... But I need to know how to import textures. If I paint a texture on to an object in blender it will not be there in unity. How do I fix this. I have heard...
View ArticleNullRefrenceException: Object reference not set to an instance of an object?
I get an error saying Object reference not set to an instance of an object Test..ctor () at (Assets/Test.js:4). What does it mean and how do I fix it? Here is my script... var damping:int=2; var...
View ArticleI have a character with a knife and he walks up to you according to his torso...
My character will walk up to you according to his torso because that is the middle point of the object. But I want him to walk up to you according to the knife in his hand so he can do the stab...
View ArticleHow can i make a game object look at another object?
I have a script located in my enemy to make him chase and attack me. The script is located in the overall character. I want to make a script in the overall character AI that makes only the characters...
View ArticleMy enemy flies when following my player
My enemy flies when it is following my player. Here is my script. function FollowClosestEnemy() { var lookPos = closest.transform.position - RightArm.position; //lookPos.y = 0; var rotation =...
View ArticleAnimations
I have two animations. A walk and a stab(with a knife). If the enemy gets too close it will stab otherwise it will chase you. But if the enemy gets to close he will finish his walk animation before he...
View Article