Throwing a ball

Making a basketball game, and for some reason, when you throw the ball it sometimes will go down and lose momentum instead of gaining it? It’s coded to impulse forwards, is there a bug in my code?

2 Likes

I took a look, and the throw/dunk bundle looks like it is using x/y impulse to throw, not forwards. Either way should be fine, but maybe I’m not looking in the right place, or maybe you changed it?

4 Likes

I was using forwards before but it seemed to bug out sometimes, I’m pretty sure I messed up the point at somehow, and yes that is the right place, but even though it seems it should work it just sometimes will throw it straight instead of up or just down.

2 Likes

It’s still doing this, can you help or is it impossible to fix?

1 Like

I’ve realized now that it’s also sometimes throwing it backwards as well as randomly up and down. The ai also sometimes gets shot to the sky by a 20 y impulse and sometimes it works, are impulse and motor broken?

1 Like