Game Development Reference
In-Depth Information
Figure 10-22. Go to starting position rule
Finally, you need to set up the most complex rule. You need to have the weight
move at the same time as the pendulum but across an arc and rotating at the
same time. There is a little bit of trigonometry involved here. I always
recommend that you use a piece of paper and draw your equations. My sketch
is in Figure 10-23.
Search WWH ::




Custom Search