Quantcast
Channel: Questions in topic: "javascripting"
Viewing all articles
Browse latest Browse all 105

Gun shooting help

$
0
0
I am creating a game where you are the starting as the unity jet object. There will be other planes that are enemies that are going to follow the player and shoot him. Right now I am trying to make the player shoot. Right now it instantiaites a yellow cube (tracer fire) and then the cube just falls. It goes forward but not nearly as fast as i want it to be. Also I don't want it to drop, heres my code ` var Bullet : GameObject; function Update () { %|-829671820_1|% %|52666472_2|% %|1809783453_3|% %|-1054893234_4|% %|1058131029_5|% %|-490803135_6|% // object's Z axis %|-112405093_8|% %|-1590855618_9|% } `

Viewing all articles
Browse latest Browse all 105

Trending Articles



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