On Aug 30, 2011 10:46 AM, "Nathan BIAGINI" <nathan.open@xxxxxxxxx> wrote: >> a_rad = math.asin(speedx/SPEED) Try math.atan2, feeding it both the x and y components of the velocity.
On Aug 30, 2011 10:46 AM, "Nathan BIAGINI" <nathan.open@xxxxxxxxx> wrote:
>> a_rad = math.asin(speedx/SPEED)
Try math.atan2, feeding it both the x and y components of the velocity.