Game Development Reference
In-Depth Information
Figure 10-18. On/Off rules
Last but not least, drag and drop a Constrain Attribute behavior in the actor
action view and change game.Rotation to pendulum.Rotation as per
Figure 10-19.
Figure 10-19. Constrain the Rotation attribute
This last behavior aims at stocking at any time the Rotation value of the
pendulum into the game attribute named Rotation. You will use this value later
to synchronize the movement of the weight.
 
Search WWH ::




Custom Search