Brad Parker wrote:
Anyway, if you know the direction of the item you can
figure out the
"unit vector" (unit meaning it's normalized to 1) and then you can scale
that anyway you like to get the proper motion.
Thanks, this was helpful. I suppose to truly understand it I should
write my own spacewar clone...
--
Jim Leonard (trixter at
oldskool.org)
http://www.oldskool.org/
Help our electronic games project:
http://www.mobygames.com/
Or check out some trippy MindCandy at
http://www.mindcandydvd.com/
A child borne of the home computer wars:
http://trixter.wordpress.com/