Havok Xtra Dev Home > Demos > Marble

MarblesView this Demo Online 282kb

Download this Demo 2.36Mb

The marble in this demo in controlled entirely by applying torque (rotational force) to the sphere. All other behavior is derived from the underlying Havok physics engine. This example also demonstrates the use of ray casting to place a shadow under the marble. The shadow is placed at a point on the surface directly below the marble and oriented in the direction of the mesh face at that point. The aim of the game is to pick up all the Havok logos in the fastest time possible. When you've collected them all, the counter counts down from your last time, thus you have to get faster and faster each time you clear all the logos.

Controls:
ARROW KEYS to spin the ball
"r" reset to startt
LEFT MOUSE BUTTON: pick up ball


Demos | Havok Xtra Dev Site | www.havok.com | top