# Basketball shooting

**URL:** <https://forum.kirupa.com/t/basketball-shooting/317708>\
**Category:** programming\
**Created:** [December 30, 2010, 7:03pm UTC](https://forum.kirupa.com/t/basketball-shooting/317708 "2010-12-30T19:03:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![toonamisaki](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@toonamisaki](https://forum.kirupa.com/u/toonamisaki)\
**Post date:** [December 30, 2010, 7:03pm UTC](https://forum.kirupa.com/t/basketball-shooting/317708/1 "2010-12-30T19:03:27Z")

</div>

Ok, I’ve been trying for 5 months now to make a successful basketball shooting system but i havent been successful at all. What I want is depending on when you release the “A” key if the ball will go in or not. I was using a gravity code on the ball and depending on when you release the key changes the gravity at which the ball flies but that wasnt successful either… I am using as 2.0 by the way. I just need some guidance because I am getting frustrated trying to develop a way to make it… Any help will be thanked gratefully!!
