I have 4 static borders surrounding the edges of the screen and I want a ball object to bounce off these randomly using linear impulse but I’m having issues with getting it to randomly move off when the impulse begins. The whole point is to get the ball to move and after a few seconds it will have stopped wherever it was last. Just can’t get it to move randomly and how math.random works for xForce and yForce directions.
Can anyone help with this? Thanks!