This forum will be closing down. Please move to the respective dedicated project forums.
Search the Community
Showing results for tags 'p2 physics input drag'.
hi, I'm wondering what approach should be taken to implement for example the hit of baseball bat, golf sticker,etc to the ball with drag input enabled and p2 physics.I do set the pointer to x,y when dragged manually but if it is dragged too fast the stick or baseball gets passed the ball and the physics of collision are not applied well. Instead of setting x,y when dragged I thought of calling moveToPoint to move point with some constant velocity but this method does not exist on p2 physics. thanks in advance