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

Kick a Ball - Add Force?

$
0
0
Hey! So I am working on this football game: http://pixelpizza.de/wordpress/?p=297 and currently i am stuck at the "kick a Ball" part. kicking works great so far and looks like this: http://postimg.org/image/z6t07aa31/ what i want do do now is, using AddForce/Impulse in a way that the ball is flying into the direction of the kick/where i kick it as soon as the feet collides with the ball when the kick animation is played or the kick button is pressed. so what i want to know is: - how can i apply a force from the feet? - as soon as the feet collides with the ball? - if the kick is going on (not that the ball flies away every time I touch the ball) thanks!

Viewing all articles
Browse latest Browse all 1264

Trending Articles



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