Thread
:
pygame half-pipe game
View Single Post
Aug 2nd, 2006, 3:51 AM
#
5
Arevos
Programming Guru
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power:
5
You could also treat the half-pipe as a mathematical curve. Differentiate the curve to find the tangent, find the perpendicular, and use trigonometry to find the corresponding angle to rotate it by.
Arevos
View Public Profile
Visit Arevos's homepage!
Find More Posts by Arevos