![]() |
Havok Xtra Dev
Home > Demos
> Coin Toss
This was a demo created in response to a query on the Macromedia 3D Lingo forums. The Director user wanted to create the effect of a tossed coin - i.e. it should roll around and ideally land in a random place each time it is thrown. Using the Havok Xtra this behavior is a natural consequence of the physics simulation. When you press space the coin is position at a random orientation above the table and then falls under gravity. Its motion when it hits the table is entirely due to the physics engine and requires no additional user code. Controls: |