![]() |
Havok Xtra Dev
Home > Demos
> Ray Cast Car
This sample highlights the use of the physics engine to create some basic car dynamics behavior. The driving model is taken directly from the simple drive controller developed for the car tutorial. We've added in a landscape with some rocks to interact with and added suspension for each of the wheels. In this example we are not explicitly modeling the contact between the ground and the wheels but instead the car is modeled as a block "floating" a few feet off the ground. The floating behavior is created using custom designed dampers at each corner of the block. The wheels are simply drawn in afterwards as a graphical effect. Controls:
|