Game Development Reference
In-Depth Information
6.
Test the movie and make something to move the idol, and you'll see the idol
monitor updating with idol data in real time:
That's enough with body interaction at the moment; I don't want to give you an
overload of information because there's still a lot to explain before you'll find
advanced body interaction really useful.
By the way, now you have learned how to destroy bricks (and only given bricks)
with the click of the mouse, and to track idol position and angle.
Summary
Now you know how to select and destroy a body, as well as get body information.
With these concepts you can build a complete, though not that advanced, Totem
Destroyer prototype.
Although you aren't able to determine if the idol touched the ground (failing the
level), you can check for its angle to be between -30 and +30 to show that the idol
did not fall down, and create your first Totem Destroyer game.
 
Search WWH ::




Custom Search