How would I go about making a physics object impulse?

Anaklosmos
Mon, 03 Aug 2015 15:51:00 +0000
World Creation

I am making a local multiplayer soccer game in which all players are in first person. I need to make it so the players will be able to add an impulse to the ball on button click when they are near it, sort of like a kick. There will be no animation, so I don’t have to worry about that, but I need to make the ball fly in the direction that the players are facing when they “kick” it. Thanks.

2 posts - 1 participant