Quantcast
Channel: Questions in topic: "left"
Viewing all articles
Browse latest Browse all 135

AddForce to the left.

$
0
0
Hi, I'm quite new to unity and I am making a little game where you can shoot to the left and to the right with the arrow keys. I made the projectile go to the right with this line. `projectileInstanceRight.AddForce(rightSpawnLoc.right * power);` I want to do the same to the left but ".left" doesn't exist. What's the reason it doesn't exist and how can I make it go to the left?

Viewing all articles
Browse latest Browse all 135

Trending Articles



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