Quantcast
Channel: Questions in topic: "addforce"
Viewing all articles
Browse latest Browse all 1264

AddForce in direction of different object?

$
0
0
Hey guys, I'm trying to shoot a projectile out of the end of a gun but can't seem to figure out how to get the rotation right when I'm adding force to it. Here's my code: http://pastebin.com/kEpr9TuU All it does is shoot upwards. Any ideas?

Viewing all articles
Browse latest Browse all 1264

Latest Images

Trending Articles



Latest Images

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