Game Development Reference
In-Depth Information
Ballistic projectiles and arrows
Applying physics to arrows can greatly improve the appearance and gameplay of a mediev-
al or fantasy game. Setting up arrows that are affected by gravity is fairly simple; this re-
cipe, however, will also set the arrows up in a way that they always face the direction
they're traveling in, making them more realistic. The following figure shows one of the ar-
rows in flight:
Search WWH ::




Custom Search