I'm doing a pong tutorial where the ball always goes by force physics to one direction. I would like to randomize the X direction to start negative sometimes (facing the other player).
For that matter I made a numeric variable 0,1 where if 0 the ball goes to positive velocity, 1 it goes negative.
The ball wont move if it's set to random. What am I doing wrong?
Here's this script:
<img src="http://img194.imageshack.us/img194/8499/capture3bq.jpg" border="0">